hopefully placate the linter

This commit is contained in:
dovholuknf
2023-09-06 13:07:56 -04:00
parent ddf1a00d22
commit e0205957f1
+3 -3
View File
@@ -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)
}