diff options
Diffstat (limited to 'compiler')
-rw-r--r-- | compiler/compiler_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/compiler_test.go b/compiler/compiler_test.go index 6b5fbe13c..9675c4028 100644 --- a/compiler/compiler_test.go +++ b/compiler/compiler_test.go @@ -29,7 +29,7 @@ func TestCompiler(t *testing.T) { t.Parallel() // Determine Go minor version (e.g. 16 in go1.16.3). - _, goMinor, err := goenv.GetGorootVersion(goenv.Get("GOROOT")) + _, goMinor, err := goenv.GetGorootVersion() if err != nil { t.Fatal("could not read Go version:", err) } |