Use operator== instead of operator!= in NS_TEST_ASSERT_EQUAL
This commit is contained in:
@@ -115,7 +115,7 @@ private:
|
||||
|
||||
#define NS_TEST_ASSERT_EQUAL_FILELINE(got, expected, file, line) \
|
||||
do { \
|
||||
if ((got) != (expected)) \
|
||||
if (! ((got) == (expected))) \
|
||||
{ \
|
||||
Failure () << file << ":" <<line \
|
||||
<< ": expected " << (expected) \
|
||||
|
||||
Reference in New Issue
Block a user