Files
bluekeyes-go-gitdiff/gitdiff/testdata/apply/text_fragment_change_single_noeol.patch
Billy Keyes 7bd4e0bb0e Fix EOF handling in TextFragment#ApplyStrict
io.EOF was not properly accounted for when dealing with patches that are
missing trailing newline characters.
2020-01-09 22:05:24 -08:00

9 lines
359 B
Diff

diff --git a/gitdiff/testdata/apply/text_fragment_change_single_noeol.src b/gitdiff/testdata/apply/text_fragment_change_single_noeol.src
--- a/gitdiff/testdata/apply/text_fragment_change_single_noeol.src
+++ b/gitdiff/testdata/apply/text_fragment_change_single_noeol.src
@@ -1 +1 @@
-line 1
\ No newline at end of file
+new line a
\ No newline at end of file