Commits

Oscar Hellström  committed 07fac8e

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

  • Participants
  • Parent commits aff55e7
  • Tags 1.2.0

Comments (0)

Files changed (1)

File 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, [