Test that files consisting of just 1 or 2 newline characters are written correctly
This commit is contained in:
parent
085a8a556a
commit
6c8e860fb5
1
test/files/one_eol.txt
Normal file
1
test/files/one_eol.txt
Normal file
@ -0,0 +1 @@
|
||||
|
2
test/files/two_eol.txt
Normal file
2
test/files/two_eol.txt
Normal file
@ -0,0 +1,2 @@
|
||||
|
||||
|
@ -7,6 +7,8 @@ TEST(BufferTest, writes_an_identical_file_to_what_is_loaded_if_no_changes_were_p
|
||||
{
|
||||
const char * files_to_test[] = {
|
||||
"test/files/empty.txt",
|
||||
"test/files/one_eol.txt",
|
||||
"test/files/two_eol.txt",
|
||||
"test/files/line_endings/cr_format.txt",
|
||||
"test/files/line_endings/crlf_format.txt",
|
||||
"test/files/line_endings/lf_format.txt",
|
||||
|
Loading…
x
Reference in New Issue
Block a user