This commit is contained in:
Shreyas Goenka 2025-01-24 14:22:55 +01:00
parent fffc89c6d5
commit 2952a73461
No known key found for this signature in database
GPG Key ID: 92A07DF49CCB0622
1 changed files with 0 additions and 10 deletions

View File

@ -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)