Fix failing test (#3984)

AdamBouhmad-patch-1
Jeff Mitchell 3 years ago committed by GitHub
parent 66c0f152d9
commit d98523be9f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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)
}
}

Loading…
Cancel
Save