From 2952a7346186d4bff330fcb575ab7522a47ec68a Mon Sep 17 00:00:00 2001 From: Shreyas Goenka Date: Fri, 24 Jan 2025 14:22:55 +0100 Subject: [PATCH] rm fn --- libs/testdiff/golden.go | 10 ---------- 1 file changed, 10 deletions(-) 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)