Browse Source

[4032] Improved message unit test comment

Francis Dupont 9 years ago
parent
commit
0d1006f07b
1 changed files with 2 additions and 1 deletions
  1. 2 1
      src/lib/exceptions/tests/exceptions_unittest.cc

+ 2 - 1
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();