Chromium Code Reviews| Index: base/thread_unittest.cc |
| =================================================================== |
| --- base/thread_unittest.cc (revision 34168) |
| +++ base/thread_unittest.cc (working copy) |
| @@ -141,3 +141,9 @@ |
| t.Start(); |
| EXPECT_TRUE(t.InitCalled()); |
| } |
| + |
| +TEST(SanityCheck, TestCheck) { |
| + LOG(ERROR) << "This line is before the CHECK"; |
| + CHECK(false); |
| + LOG(ERROR) << "This line is after the CHECK"; |
| +} |