Commits

Anonymous committed 07fac8e

Adjust test to expect runtime error, not exit...

Comments (0)

Files changed (1)

test/lhttpc_tests.erl

     ?assertEqual(iolist_to_binary(Body), body(Response)).
 
 bad_url() ->
-    ?assertExit(_, lhttpc:request(ost, "GET", [], 100)).
+    ?assertError(_, lhttpc:request(ost, "GET", [], 100)).
 
 persistent_connection() ->
     Port = start(gen_tcp, [