diff --git a/test/test_parser1_1.cpp b/test/test_parser1_1.cpp index d70b0d9..401d171 100644 --- a/test/test_parser1_1.cpp +++ b/test/test_parser1_1.cpp @@ -581,15 +581,18 @@ void test_no_new_line_at_eof() { test_no_new_line_at_eof_impl( {{1, 2, std::string(i, 'X')}}); - for (size_t j = 0; j < 2 * ss::get_line_initial_buffer_size; ++j) { + for (size_t j = 0; j < 2 * ss::get_line_initial_buffer_size; j += 13) { test_no_new_line_at_eof_impl( {{1, 2, std::string(i, 'X')}, {3, 4, std::string(j, 'Y')}}); + + test_no_new_line_at_eof_impl( + {{1, 2, std::string(j, 'X')}, {3, 4, std::string(i, 'Y')}}); } } } TEST_CASE("test no new line at end of data") { - // test_no_new_line_at_eof(); + test_no_new_line_at_eof(); test_no_new_line_at_eof(); }