From 3acc13038dfe5e0643112140d329c6eb0ed4cd6a Mon Sep 17 00:00:00 2001 From: "deepsource-autofix[bot]" <62050782+deepsource-autofix[bot]@users.noreply.github.com> Date: Sun, 6 Mar 2022 15:46:21 +0800 Subject: autofix: unused parameter should be replaced by underscore (#6799) Co-authored-by: deepsource-autofix[bot] <62050782+deepsource-autofix[bot]@users.noreply.github.com> --- internal/conf/computed_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'internal/conf/computed_test.go') diff --git a/internal/conf/computed_test.go b/internal/conf/computed_test.go index 908b7679..8ed49a53 100644 --- a/internal/conf/computed_test.go +++ b/internal/conf/computed_test.go @@ -39,7 +39,7 @@ func TestIsProdMode(t *testing.T) { } } -func TestWorkDirHelper(t *testing.T) { +func TestWorkDirHelper(_ *testing.T) { if !testutil.WantHelperProcess() { return } @@ -67,7 +67,7 @@ func TestWorkDir(t *testing.T) { } } -func TestCustomDirHelper(t *testing.T) { +func TestCustomDirHelper(_ *testing.T) { if !testutil.WantHelperProcess() { return } @@ -95,7 +95,7 @@ func TestCustomDir(t *testing.T) { } } -func TestHomeDirHelper(t *testing.T) { +func TestHomeDirHelper(_ *testing.T) { if !testutil.WantHelperProcess() { return } -- cgit v1.2.3