You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by yl...@apache.org on 2022/06/23 11:21:20 UTC

svn commit: r1902192 - /apr/apr/trunk/test/abts.c

Author: ylavic
Date: Thu Jun 23 11:21:20 2022
New Revision: 1902192

URL: http://svn.apache.org/viewvc?rev=1902192&view=rev
Log:
test/abts: Follow up to r1902191: Fix IMPL_abts_T_nequal.

* test/abts.c(IMPL_abts_T_nequal):
  Invert logic from IMPL_abts_T_equal (bad copypasta)


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=1902192&r1=1902191&r2=1902192&view=diff
==============================================================================
--- apr/apr/trunk/test/abts.c (original)
+++ apr/apr/trunk/test/abts.c Thu Jun 23 11:21:20 2022
@@ -310,7 +310,7 @@ void abts_##NAME##_nequal(abts_case *tc,
     update_status(); \
     if (tc->failed) return; \
     \
-    if (expected == actual) return; \
+    if (expected != actual) return; \
     \
     tc->failed = TRUE; \
     if (verbose) { \