Skip to content

Commit b5bb5ab

Browse files
author
Patryk Wasielewski
committed
fix tests
1 parent 6949a46 commit b5bb5ab

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

pkg/splunk/enterprise/configuration_test.go

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,8 @@ func marshalAndCompare(t *testing.T, compare interface{}, method string, want st
7474
if err != nil {
7575
t.Errorf("%s failed to marshall", err)
7676
}
77-
actual := strings.ReplaceAll(string(got), " ", "")
7877
want = strings.ReplaceAll(want, " ", "")
7978

80-
if actual != want {
81-
t.Errorf("Method %s, got = %s;\nwant %s", method, got, want)
82-
}
8379
require.JSONEq(t, want, string(got))
8480
}
8581

0 commit comments

Comments
 (0)