Skip to content

Commit eeeaa7a

Browse files
Switch TestMultiReplace to run for the new, replacement function instead
1 parent 3e90a3b commit eeeaa7a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

search-replace_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -283,7 +283,7 @@ func TestMultiReplace(t *testing.T) {
283283

284284
for _, test := range tests {
285285
t.Run(test.testName, func(t *testing.T) {
286-
replaced := replaceAndFix(&test.in, test.replacements)
286+
replaced := fixLine(&test.in, test.replacements)
287287

288288
if !bytes.Equal(*replaced, test.out) {
289289
t.Error("Expected:", string(test.out), "Actual:", string(*replaced))

0 commit comments

Comments
 (0)