mirror of https://github.com/databricks/cli.git
rm fn
This commit is contained in:
parent
fffc89c6d5
commit
2952a73461
|
@ -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 {
|
func ReplaceOutput(t testutil.TestingT, ctx context.Context, out string) string {
|
||||||
t.Helper()
|
t.Helper()
|
||||||
out = NormalizeNewlines(out)
|
out = NormalizeNewlines(out)
|
||||||
|
|
Loading…
Reference in New Issue