Author: astieger
Date: Sun Sep 20 17:58:33 2015
New Revision: 1704173

URL: http://svn.apache.org/viewvc?rev=1704173&view=rev
Log:
Improve test failure output, print message for failed assertion

* test/test_util.c
  (run_client_and_mock_servers_loops_expect_ok): print message

Modified:
    serf/trunk/test/test_util.c

Modified: serf/trunk/test/test_util.c
URL: 
http://svn.apache.org/viewvc/serf/trunk/test/test_util.c?rev=1704173&r1=1704172&r2=1704173&view=diff
==============================================================================
--- serf/trunk/test/test_util.c (original)
+++ serf/trunk/test/test_util.c Sun Sep 20 17:58:33 2015
@@ -538,7 +538,7 @@ run_client_and_mock_servers_loops_expect
 
     status = run_client_and_mock_servers_loops(tb, num_requests, handler_ctx,
                                                pool);
-    CuAssertIntEquals(tc, APR_SUCCESS, status);
+    CuAssertIntEquals_Msg(tc, serf_error_string(status), APR_SUCCESS, status);
 
     /* Check that the requests were sent and reveived by the server in the 
order
      we created them */


Reply via email to