diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-05 18:57:39 +1100 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2019-11-05 19:22:01 +1100 |
commit | 86a39e3aea5f0a4193e63f7c5b47e226de99fb5c (patch) | |
tree | 83d52efc04f1eeb411d13eee65a65a2e39a74e19 /pkg/commands | |
parent | 326b1ca8c96ae4e27fab16739bb9bbbfb8fe858a (diff) |
only test with non-original header
Diffstat (limited to 'pkg/commands')
-rw-r--r-- | pkg/commands/patch_modifier_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/patch_modifier_test.go b/pkg/commands/patch_modifier_test.go index 87f1000a9..0e44af812 100644 --- a/pkg/commands/patch_modifier_test.go +++ b/pkg/commands/patch_modifier_test.go @@ -502,7 +502,7 @@ func TestModifyPatchForRange(t *testing.T) { for _, s := range scenarios { t.Run(s.testName, func(t *testing.T) { - result := ModifiedPatchForRange(nil, s.filename, s.diffText, s.firstLineIndex, s.lastLineIndex, s.reverse, true) + result := ModifiedPatchForRange(nil, s.filename, s.diffText, s.firstLineIndex, s.lastLineIndex, s.reverse, false) if !assert.Equal(t, s.expected, result) { fmt.Println(result) } |