From 86a39e3aea5f0a4193e63f7c5b47e226de99fb5c Mon Sep 17 00:00:00 2001 From: Jesse Duffield Date: Tue, 5 Nov 2019 18:57:39 +1100 Subject: [PATCH] only test with non-original header --- pkg/commands/patch_modifier_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) }