From 08176b28a3330c9f5c7b310dd400ffe3898ca739 Mon Sep 17 00:00:00 2001 From: Tobias Klauser Date: Fri, 1 Dec 2017 14:02:53 +0100 Subject: [PATCH] os: drop unused return value in TestLookupEnv Change-Id: Ibf227dcfefa179b1c3378476bcd17100b1b1c01e Reviewed-on: https://go-review.googlesource.com/81375 Run-TryBot: Tobias Klauser TryBot-Result: Gobot Gobot Reviewed-by: Ian Lance Taylor --- src/os/env_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/os/env_test.go b/src/os/env_test.go index e5749f0e899..16f19456381 100644 --- a/src/os/env_test.go +++ b/src/os/env_test.go @@ -134,7 +134,7 @@ func TestLookupEnv(t *testing.T) { if err != nil { t.Fatalf("failed to release smallpox virus") } - value, ok = LookupEnv(smallpox) + _, ok = LookupEnv(smallpox) if !ok { t.Errorf("smallpox release failed; world remains safe but LookupEnv is broken") }