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