1
0
mirror of https://github.com/golang/go synced 2024-10-01 22:28:33 -06:00

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>
This commit is contained in:
Tobias Klauser 2017-12-01 14:02:53 +01:00 committed by Tobias Klauser
parent eafa29bdce
commit 08176b28a3

View File

@ -134,7 +134,7 @@ func TestLookupEnv(t *testing.T) {
if err != nil { if err != nil {
t.Fatalf("failed to release smallpox virus") t.Fatalf("failed to release smallpox virus")
} }
value, ok = LookupEnv(smallpox) _, ok = LookupEnv(smallpox)
if !ok { if !ok {
t.Errorf("smallpox release failed; world remains safe but LookupEnv is broken") t.Errorf("smallpox release failed; world remains safe but LookupEnv is broken")
} }