From: Brian Aker Date: Tue, 26 Feb 2013 12:25:42 +0000 (-0500) Subject: Fix warning in test. X-Git-Tag: 1.0.17~4^2~2 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=a6125e493c92ad44941345da1e123fa6e9b8d272;p=awesomized%2Flibmemcached Fix warning in test. --- 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 (...)