Fix failing test (#3984)
This commit is contained in:
1 parent
66c0f152d9
commit
d98523be9f
1 file changed
+1
-1
@@ -23,6 +23,6 @@ func TestResourceInfoFromPrefix(t *testing.T) {
|
||||
for prefix, typ := range vals {
|
||||
assert.Equal(t, typ, ResourceInfoFromPrefix(prefix).Type)
|
||||
assert.Equal(t, typ, ResourceInfoFromPrefix(fmt.Sprintf("%s_foobar", prefix)).Type)
|
||||
assert.Equal(t, resource.Unknown, ResourceInfoFromPrefix(fmt.Sprintf("%sfoobar", prefix)))
|
||||
assert.Equal(t, resource.Unknown, ResourceInfoFromPrefix(fmt.Sprintf("%sfoobar", prefix)).Type)
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user