diff --git a/libs/testdiff/golden.go b/libs/testdiff/golden.go index 246337477..c1c51b6c5 100644 --- a/libs/testdiff/golden.go +++ b/libs/testdiff/golden.go @@ -65,16 +65,6 @@ func AssertOutputJQ(t testutil.TestingT, ctx context.Context, out, outTitle, exp } } -func AssertEqualStrings(t testutil.TestingT, ctx context.Context, expected, actual string) { - t.Helper() - replacements := GetReplacementsMap(ctx) - if replacements == nil { - t.Fatal("WithReplacementsMap was not called") - } - actual = replacements.Replace(actual) - assert.Equal(t, expected, actual) -} - func ReplaceOutput(t testutil.TestingT, ctx context.Context, out string) string { t.Helper() out = NormalizeNewlines(out)