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 << ":" <