From ced9c5087410cfbb88bfb000f20f066e41fc86da Mon Sep 17 00:00:00 2001 From: Pavel Boyko Date: Mon, 13 Jul 2009 09:07:02 +0200 Subject: [PATCH] Use operator== instead of operator!= in NS_TEST_ASSERT_EQUAL --- src/core/test.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/test.h b/src/core/test.h index fa126e1f9..26caeae9c 100644 --- a/src/core/test.h +++ b/src/core/test.h @@ -115,7 +115,7 @@ private: #define NS_TEST_ASSERT_EQUAL_FILELINE(got, expected, file, line) \ do { \ - if ((got) != (expected)) \ + if (! ((got) == (expected))) \ { \ Failure () << file << ":" <