From adb562782e85410c84961e7d6170383836ce640b Mon Sep 17 00:00:00 2001 From: Marcin Rataj Date: Fri, 20 Oct 2023 00:47:58 +0200 Subject: [PATCH] chore: go vet --- test/cli/content_blocking_test.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/cli/content_blocking_test.go b/test/cli/content_blocking_test.go index 3f616e6eaa8f..e584be1f2758 100644 --- a/test/cli/content_blocking_test.go +++ b/test/cli/content_blocking_test.go @@ -148,8 +148,8 @@ func TestContentBlocking(t *testing.T) { cliTestName := fmt.Sprintf("CLI '%s' denies %s", strings.Join(cmd, " "), testCase.name) t.Run(cliTestName, func(t *testing.T) { t.Parallel() - cmd := append(cmd, testCase.path) - errMsg := node.RunIPFS(cmd...).Stderr.Trimmed() + args := append(cmd, testCase.path) + errMsg := node.RunIPFS(args...).Stderr.Trimmed() if !strings.Contains(errMsg, expectedMsg) { t.Errorf("Expected STDERR error message %q, but got: %q", expectedMsg, errMsg) }