From d98523be9f030bff7507bbca00bdf68e60d99637 Mon Sep 17 00:00:00 2001 From: Jeff Mitchell Date: Thu, 2 Nov 2023 13:13:21 -0400 Subject: [PATCH] Fix failing test (#3984) --- globals/prefixes_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/globals/prefixes_test.go b/globals/prefixes_test.go index 9c56287366..97b12438ce 100644 --- a/globals/prefixes_test.go +++ b/globals/prefixes_test.go @@ -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) } }