From: Francis Dupont Date: Wed, 16 Sep 2015 20:55:38 +0000 (+0200) Subject: [4032] Improved message unit test comment X-Git-Tag: trac4074_base~32^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=0d1006f07bc1c1c5e46412044f6c8a48745fb023;p=thirdparty%2Fkea.git [4032] Improved message unit test comment --- diff --git a/src/lib/exceptions/tests/exceptions_unittest.cc b/src/lib/exceptions/tests/exceptions_unittest.cc index 0f03d1d989..977d393ae3 100644 --- a/src/lib/exceptions/tests/exceptions_unittest.cc +++ b/src/lib/exceptions/tests/exceptions_unittest.cc @@ -73,7 +73,8 @@ TEST_F(ExceptionTest, verbose) { } -// Test matching message. +// A full example of how to check both the exception (e.g., EXPECT_THROW) +// and its associated message (something no gtest macros do). TEST_F(ExceptionTest, message) { try { raise_foobar();