mirror of
https://github.com/golang/go
synced 2024-11-19 11:44:45 -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:
parent
eafa29bdce
commit
08176b28a3
@ -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")
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user