From a6125e493c92ad44941345da1e123fa6e9b8d272 Mon Sep 17 00:00:00 2001 From: Brian Aker Date: Tue, 26 Feb 2013 07:25:42 -0500 Subject: [PATCH] Fix warning in test. --- libtest/unittest.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libtest/unittest.cc b/libtest/unittest.cc index 834614fc..c7be63fa 100644 --- a/libtest/unittest.cc +++ b/libtest/unittest.cc @@ -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 (...) -- 2.30.2