Fix failing test (#3984)

This commit is contained in:
Jeff Mitchell authored and GitHub committed 2023-11-02 13:13:21 -04:00
1 parent 66c0f152d9
commit d98523be9f
1 file changed
+1 -1
+1 -1
View File
@@ -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)
}
}