silence warning

This commit is contained in:
Axel Kohlmeyer
2025-01-29 20:16:34 -05:00
parent 3b5dfb0a05
commit 4df3dead69

View File

@ -92,7 +92,7 @@ TEST_F(TextFileReaderTest, buffer)
test_files();
auto *reader = new TextFileReader("text_reader_two.file", "test");
reader->set_bufsize(4096);
auto *line = reader->next_line();
reader->next_line();
ASSERT_THROW({ reader->set_bufsize(20); }, FileReaderException);
delete reader;
}