Commit 08176b28 authored by Tobias Klauser's avatar Tobias Klauser Committed by Tobias Klauser

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: 's avatarIan Lance Taylor <iant@golang.org>
parent eafa29bd
...@@ -134,7 +134,7 @@ func TestLookupEnv(t *testing.T) { ...@@ -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")
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment