summaryrefslogtreecommitdiffstats
path: root/pkg/git/patch_modifier_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/git/patch_modifier_test.go')
-rw-r--r--pkg/git/patch_modifier_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/git/patch_modifier_test.go b/pkg/git/patch_modifier_test.go
index e61d32135..a9381c721 100644
--- a/pkg/git/patch_modifier_test.go
+++ b/pkg/git/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 := ModifiedPatch(nil, s.filename, s.diffText, s.firstLineIndex, s.lastLineIndex, s.reverse)
+ result := ModifiedPatchForRange(nil, s.filename, s.diffText, s.firstLineIndex, s.lastLineIndex, s.reverse)
if !assert.Equal(t, s.expected, result) {
fmt.Println(result)
}