Files
bluekeyes-go-gitdiff/gitdiff/testdata/apply/text_fragment_error_delete_conflict.patch
Billy Keyes 1b341e0693 Add error tests for TextFragment#ApplyStrict
These cover the errors that can happen with a single fragment and no
additional manipulation by the caller of ApplyStrict.
2020-01-12 22:09:08 -08:00

13 lines
314 B
Diff

diff --git a/gitdiff/testdata/apply/text_fragment_error.src b/gitdiff/testdata/apply/text_fragment_error.src
--- a/gitdiff/testdata/apply/text_fragment_error.src
+++ b/gitdiff/testdata/apply/text_fragment_error.src
@@ -4,7 +4,7 @@ line 3
line 4
line 5
line 6
-line conflict
+new line a
line 8
line 9
line 10