]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[4032] Improved message unit test comment
authorFrancis Dupont <fdupont@isc.org>
Wed, 16 Sep 2015 20:55:38 +0000 (22:55 +0200)
committerFrancis Dupont <fdupont@isc.org>
Wed, 16 Sep 2015 20:55:38 +0000 (22:55 +0200)
src/lib/exceptions/tests/exceptions_unittest.cc

index 0f03d1d989a21218c0c0ac4adf66e8f15f091ad9..977d393ae347a063b5873aa2eb2f1e5699750790 100644 (file)
@@ -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();