summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2013-11-12 14:01:51 +0000
committertrawick <trawick@13f79535-47bb-0310-9956-ffa450edef68>2013-11-12 14:01:51 +0000
commitcc078f06c15fa24607f22b1529aee04bded03ba4 (patch)
treec88dee2d1e466fd6793871a2365a22643109321d
parentd70eb2fd416e63be6e0c4a327c53ac58c64fa991 (diff)
downloadlibapr-util-cc078f06c15fa24607f22b1529aee04bded03ba4.tar.gz
Merge r1541054 from apr trunk:
Fix error message from ABTS_INT_NEQUAL() and ABTS_STR_NEQUAL(). git-svn-id: http://svn.apache.org/repos/asf/apr/apr-util/branches/1.5.x@1541067 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--test/abts.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/test/abts.c b/test/abts.c
index 71955eab..da0097d0 100644
--- a/test/abts.c
+++ b/test/abts.c
@@ -250,7 +250,8 @@ void abts_int_nequal(abts_case *tc, const int expected, const int actual, int li
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);
}
}
@@ -282,7 +283,8 @@ void abts_str_nequal(abts_case *tc, const char *expected, const char *actual,
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);
}
}