Files
bluekeyes-go-gitdiff/gitdiff/testdata/apply/text_fragment_change_end_eol.patch
Billy Keyes 823d31db22 Add a test for removing the last newline in a file (#59)
This worked, but completes the test coverage in combination with the
test that adds a final newline and one that leaves the missing newline
in place.
2025-03-04 20:14:23 -08:00

11 lines
361 B
Diff

diff --git a/gitdiff/testdata/apply/text_fragment_remove_last_eol.src b/gitdiff/testdata/apply/text_fragment_remove_last_eol.src
index a92d664..8cf2f17 100644
--- a/gitdiff/testdata/apply/text_fragment_remove_last_eol.src
+++ b/gitdiff/testdata/apply/text_fragment_remove_last_eol.src
@@ -1,3 +1,3 @@
line 1
line 2
-line 3
+line 3
\ No newline at end of file