mirror of
https://github.com/processone/ejabberd
synced 2025-10-03 09:49:18 +02:00
Result of running "make format"
This commit is contained in:
parent
d9a7b67f0e
commit
f3b1b5d419
1 changed files with 4 additions and 5 deletions
|
@ -247,14 +247,13 @@ rtbl_domains_whitelisted(Config) ->
|
|||
spam_dump_file(Config) ->
|
||||
{ok, CWD} = file:get_cwd(),
|
||||
Filename = filename:join([CWD, "spam.log"]),
|
||||
?retry(100, 100,
|
||||
?match(true, size(get_bytes(Filename)) > 0)),
|
||||
?retry(100, 100, ?match(true, size(get_bytes(Filename)) > 0)),
|
||||
From = jid:make(<<"spammer_jid">>, <<"localhost">>, <<"spam_client">>),
|
||||
To = my_jid(Config),
|
||||
is_spam(message(From, To, <<"A very specific spam message">>)),
|
||||
?retry(100, 100,
|
||||
?match({match, _},
|
||||
re:run(get_bytes(Filename), <<"A very specific spam message">>))).
|
||||
?retry(100,
|
||||
100,
|
||||
?match({match, _}, re:run(get_bytes(Filename), <<"A very specific spam message">>))).
|
||||
|
||||
%%%===================================================================
|
||||
%%% Internal functions
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue