mirror of
https://github.com/bluekeyes/go-gitdiff
synced 2026-06-08 13:18:30 +00:00
1b341e0693
These cover the errors that can happen with a single fragment and no additional manipulation by the caller of ApplyStrict.
13 lines
314 B
Diff
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
|