Eunit: Don't wait for message
This commit is contained in:
@@ -384,11 +384,7 @@ issue23() ->
|
|||||||
non_db_file_test() ->
|
non_db_file_test() ->
|
||||||
process_flag(trap_exit, true),
|
process_flag(trap_exit, true),
|
||||||
?assertMatch({error, _},
|
?assertMatch({error, _},
|
||||||
sqlite3:start_link(bad_file, [{file, "/"}])),
|
sqlite3:start_link(bad_file, [{file, "/"}])).
|
||||||
receive
|
|
||||||
{'EXIT', _, _} -> ok;
|
|
||||||
_ -> ?assert(false)
|
|
||||||
end.
|
|
||||||
|
|
||||||
|
|
||||||
% create, read, update, delete
|
% create, read, update, delete
|
||||||
|
|||||||
Reference in New Issue
Block a user