diff --git a/test/files/no_eol_at_eof_crlf.txt b/test/files/no_eol_at_eof_crlf.txt new file mode 100644 index 0000000..87d9505 --- /dev/null +++ b/test/files/no_eol_at_eof_crlf.txt @@ -0,0 +1,2 @@ +Line 1 +Line 2 \ No newline at end of file diff --git a/test/src/test_Buffer.cc b/test/src/test_Buffer.cc index d39c4aa..495920b 100644 --- a/test/src/test_Buffer.cc +++ b/test/src/test_Buffer.cc @@ -13,6 +13,7 @@ TEST(BufferTest, writes_an_identical_file_to_what_is_loaded_if_no_changes_were_p "test/files/line_endings/crlf_format.txt", "test/files/line_endings/lf_format.txt", "test/files/no_eol_at_eof.txt", + "test/files/no_eol_at_eof_crlf.txt", }; for (auto e : files_to_test) {