1
0
mirror of https://github.com/golang/go synced 2024-11-19 10:04:56 -07: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 {
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")
}