projects
/
awesomized
/
libmemcached
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
|
github
raw
|
patch
| inline |
side by side
(parent:
f80b715
)
Fix warning in test.
author
Brian Aker
<brian@tangent.org>
Tue, 26 Feb 2013 12:25:42 +0000
(07:25 -0500)
committer
Brian Aker
<brian@tangent.org>
Tue, 26 Feb 2013 12:25:42 +0000
(07:25 -0500)
libtest/unittest.cc
patch
|
blob
|
history
diff --git
a/libtest/unittest.cc
b/libtest/unittest.cc
index 834614fcbc4fb3fe4fed08488afda467d887d5f8..c7be63fa49c90a693e7110e8911b3788fea2cfac 100644
(file)
--- 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 (...)