Tests of all the error paths in log_reader.cc follow:
| 29 | |
| 30 | // Tests of all the error paths in log_reader.cc follow: |
| 31 | static void ExpectHasSubstr(StringPiece s, StringPiece expected) { |
| 32 | EXPECT_TRUE(absl::StrContains(s, expected)) |
| 33 | << s << " does not contain " << expected; |
| 34 | } |
| 35 | |
| 36 | TEST(TestReporter, NoLogging) { |
| 37 | TestReporter test_reporter("b1"); |