apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1541054 - /apr/apr/trunk/test/abts.c
Date Tue, 12 Nov 2013 13:31:08 GMT
Author: trawick
Date: Tue Nov 12 13:31:07 2013
New Revision: 1541054

URL: http://svn.apache.org/r1541054
Log:
Fix error message from ABTS_INT_NEQUAL() and ABTS_STR_NEQUAL().

Modified:
    apr/apr/trunk/test/abts.c

Modified: apr/apr/trunk/test/abts.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/test/abts.c?rev=1541054&r1=1541053&r2=1541054&view=diff
==============================================================================
--- apr/apr/trunk/test/abts.c (original)
+++ apr/apr/trunk/test/abts.c Tue Nov 12 13:31:07 2013
@@ -248,7 +248,8 @@ void abts_int_nequal(abts_case *tc, cons
 
     tc->failed = TRUE;
     if (verbose) {
-        fprintf(stderr, "Line %d: expected <%d>, but saw <%d>\n", lineno, expected,
actual);
+        fprintf(stderr, "Line %d: expected something other than <%d>, but saw <%d>\n",
+                lineno, expected, actual);
         fflush(stderr);
     }
 }
@@ -295,7 +296,8 @@ void abts_str_nequal(abts_case *tc, cons
 
     tc->failed = TRUE;
     if (verbose) {
-        fprintf(stderr, "Line %d: expected <%s>, but saw <%s>\n", lineno, expected,
actual);
+        fprintf(stderr, "Line %d: expected something other than <%s>, but saw <%s>\n",
+                lineno, expected, actual);
         fflush(stderr);
     }
 }



Mime
View raw message