From a25074c41526fe42880aea08408b1f7bea21ea5e Mon Sep 17 00:00:00 2001 From: Anton Troshin Date: Tue, 7 Jan 2025 19:53:48 -0600 Subject: [PATCH] fix test Signed-off-by: Anton Troshin --- pkg/standalone/publish_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/standalone/publish_test.go b/pkg/standalone/publish_test.go index a9d5e41e9..57dd23abe 100644 --- a/pkg/standalone/publish_test.go +++ b/pkg/standalone/publish_test.go @@ -212,7 +212,7 @@ func TestGetQueryParams(t *testing.T) { queryParams := getQueryParams(tc.metadata) if queryParams != "" { - assert.Equal(t, '?', queryParams[0], "expected query params to start with '?'") + assert.True(t, strings.HasPrefix(queryParams, "?"), "expected query params to start with '?'") queryParams = queryParams[1:] }