Tests of all the error paths in log_reader.cc follow:
| 300 | |
| 301 | // Tests of all the error paths in log_reader.cc follow: |
| 302 | void AssertHasSubstr(StringPiece s, StringPiece expected) { |
| 303 | EXPECT_TRUE(absl::StrContains(s, expected)) |
| 304 | << s << " does not contain " << expected; |
| 305 | } |
| 306 | |
| 307 | void TestReadError(const RecordWriterOptions& writer_options, |
| 308 | const RecordReaderOptions& reader_options) { |