aboutsummaryrefslogtreecommitdiff
path: root/opts
diff options
context:
space:
mode:
authorSebastiaan van Stijn <github@gone.nl>2019-08-05 17:50:51 +0200
committerSebastiaan van Stijn <github@gone.nl>2019-09-18 12:57:12 +0200
commit744f1c261c57ed68e3bc8d05f4ab58223be24009 (patch)
treeabd834862dc154f263255f950c07bbb3e0ebf683 /opts
parentbca161d7cb219258d2ed208c92998db47c1b05d5 (diff)
Remove unused functions, variables, fields
opts/env_test: suppress a linter warning this one: > opts/env_test.go:95:4: U1000: field `err` is unused (unused) > err error > ^ Signed-off-by: Kir Kolyshkin <kolyshkin@gmail.com> Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
Diffstat (limited to 'opts')
-rw-r--r--opts/env_test.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/opts/env_test.go b/opts/env_test.go
index 1ecf1e2b94..d82495ec21 100644
--- a/opts/env_test.go
+++ b/opts/env_test.go
@@ -96,9 +96,9 @@ func TestValidateEnv(t *testing.T) {
}{
value: "PaTh",
expected: fmt.Sprintf("PaTh=%v", os.Getenv("PATH")),
+ err: nil,
}
testcase = append(testcase, tmp)
-
}
for _, r := range testcase {