Eunit: Don't wait for message

This commit is contained in:
Badlop
2024-02-26 08:55:29 +01:00
parent a76666ede3
commit 70b3bcad3a

View File

@@ -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