Skip to content

Commit 2ecc99d

Browse files
committed
tests(goenv): use env var that exist on the CI
1 parent 5809e86 commit 2ecc99d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

goenv/goenv_test.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@ func TestGetOne(t *testing.T) {
1919
}
2020

2121
func TestGet(t *testing.T) {
22-
values, err := Get(GOMOD, GO111MODULE)
22+
values, err := Get(GOMOD, GOCACHE)
2323
require.NoError(t, err)
2424

2525
assert.NotEmpty(t, values[GOMOD])
26-
assert.NotEmpty(t, values[GO111MODULE])
26+
assert.NotEmpty(t, values[GOCACHE])
2727
assert.Empty(t, values[GOEXE])
2828
}

0 commit comments

Comments
 (0)