From e0205957f1aba5e8d0ab72ea4e6ef20806693573 Mon Sep 17 00:00:00 2001 From: dovholuknf <46322585+dovholuknf@users.noreply.github.com> Date: Wed, 6 Sep 2023 13:07:56 -0400 Subject: [PATCH] hopefully placate the linter --- ziti/cmd/helpers/helpers_test.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ziti/cmd/helpers/helpers_test.go b/ziti/cmd/helpers/helpers_test.go index 24052df56..9864ae5de 100644 --- a/ziti/cmd/helpers/helpers_test.go +++ b/ziti/cmd/helpers/helpers_test.go @@ -36,7 +36,7 @@ func TestGetZitiHomeWhenUnset(t *testing.T) { expectedValue := NormalizePath(wd) // Check that the value matches - actualValue, _ := GetZitiHome() + actualValue := GetZitiHome() assert.Equal(t, expectedValue, actualValue) } @@ -49,7 +49,7 @@ func TestGetZitiHomeWhenSet(t *testing.T) { _ = os.Setenv(varName, expectedValue) // Check that the value matches - actualValue, _ := GetZitiHome() + actualValue := GetZitiHome() assert.Equal(t, expectedValue, actualValue) } @@ -62,7 +62,7 @@ func TestGetHomeWhenSetWithWindowsSlashes(t *testing.T) { _ = os.Setenv(varName, strings.ReplaceAll(expectedValue, "/", "\\")) // Check that the value matches - actualValue, _ := GetZitiHome() + actualValue := GetZitiHome() assert.Equal(t, expectedValue, actualValue) }