Fix warning in test.
authorBrian Aker <brian@tangent.org>
Tue, 26 Feb 2013 12:25:42 +0000 (07:25 -0500)
committerBrian Aker <brian@tangent.org>
Tue, 26 Feb 2013 12:25:42 +0000 (07:25 -0500)
libtest/unittest.cc

index 834614fcbc4fb3fe4fed08488afda467d887d5f8..c7be63fa49c90a693e7110e8911b3788fea2cfac 100644 (file)
@@ -184,11 +184,11 @@ static test_return_t test_throw_fail_TEST(void *)
 static test_return_t ASSERT_FALSE__TEST(void *)
 {
   try {
-    ASSERT_FALSE_(true, __func__);
+    ASSERT_FALSE(true);
   }
   catch (const libtest::__failure& e)
   {
-    ASSERT_STREQ(e.what(), "Assertion '!true' [ ASSERT_FALSE__TEST ]");
+    ASSERT_STREQ(e.what(), "Assertion '!true'");
     return TEST_SUCCESS;
   }
   catch (...)