Skip to content

Commit 67705ba

Browse files
authored
Improve failure messages for supportedversion unit tests (openshift-service-mesh#442)
Signed-off-by: Daniel Grimm <[email protected]>
1 parent 552d34f commit 67705ba

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

pkg/test/util/supportedversion/supportedversion_test.go

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,11 @@ import (
2222

2323
func TestInit(t *testing.T) {
2424
// no need to call init(), since it's called automatically
25-
assert.True(t, len(List) > 0, "List should not be empty")
26-
assert.True(t, len(Map) > 0, "M should not be empty")
27-
assert.True(t, Default != "", "Default should not be empty")
28-
assert.True(t, Old != "", "Default should not be empty")
29-
assert.True(t, New != "", "Default should not be empty")
25+
assert.True(t, len(List) > 0, "supportedversion.List should not be empty")
26+
assert.True(t, len(Map) > 0, "supportedversion.Map should not be empty")
27+
assert.True(t, Default != "", "supportedversion.Default should not be empty")
28+
assert.True(t, Old != "", "supportedversion.Old should not be empty")
29+
assert.True(t, New != "", "supportedversion.New should not be empty")
3030

3131
assert.Equal(t, len(List), len(Map), "Map should be same size as List")
3232
for _, vi := range List {

0 commit comments

Comments
 (0)