]> Cypherpunks repositories - gostls13.git/commitdiff
os: drop unused return value in TestLookupEnv
authorTobias Klauser <tklauser@distanz.ch>
Fri, 1 Dec 2017 13:02:53 +0000 (14:02 +0100)
committerTobias Klauser <tobias.klauser@gmail.com>
Fri, 1 Dec 2017 15:43:52 +0000 (15:43 +0000)
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>
src/os/env_test.go

index e5749f0e8996113951316d84c53e713dbae0923a..16f194563811eed0495503e23bbe124c69ef9f1b 100644 (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")
        }