diff options
author | Tobias Klauser <tklauser@distanz.ch> | 2017-12-01 14:02:53 +0100 |
---|---|---|
committer | Tobias Klauser <tobias.klauser@gmail.com> | 2017-12-01 15:43:52 +0000 |
commit | 08176b28a3330c9f5c7b310dd400ffe3898ca739 (patch) | |
tree | cbfe341b084157d12e7d928b5a0449089b5fb7f8 /src/os/env_test.go | |
parent | eafa29bdce13d535d0b121f9b7be5783092d1496 (diff) | |
download | go-git-08176b28a3330c9f5c7b310dd400ffe3898ca739.tar.gz |
os: drop unused return value in TestLookupEnv
Change-Id: Ibf227dcfefa179b1c3378476bcd17100b1b1c01e
Reviewed-on: https://go-review.googlesource.com/81375
Run-TryBot: Tobias Klauser <tobias.klauser@gmail.com>
TryBot-Result: Gobot Gobot <gobot@golang.org>
Reviewed-by: Ian Lance Taylor <iant@golang.org>
Diffstat (limited to 'src/os/env_test.go')
-rw-r--r-- | src/os/env_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/os/env_test.go b/src/os/env_test.go index e5749f0e89..16f1945638 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") } |