Here I clear it, same result: pfarrell@Alien15:~/whome/sandbox/gows/src/github.com/pfarrell51/cmd$ export GOROOT= pfarrell@Alien15:~/whome/sandbox/gows/src/github.com/pfarrell51/cmd$ printenv GOROOT
pfarrell@Alien15:~/whome/sandbox/gows/src/github.com/pfarrell51/cmd$ go test treesort_test.go # command-line-arguments treesort_test.go:11:2: package treesort is not in GOROOT (C:\Program Files\Go\src\treesort) FAIL command-line-arguments [setup failed] FAIL Interesting: even though I cleared it to bash, it still shows up as being set in go pfarrell@Alien15:~/whome/sandbox/gows/src/github.com/pfarrell51/cmd$ go env set GO111MODULE= set GOENV=C:\Users\pfarrell\AppData\Roaming\go\env set GOPATH=C:\Users\pfarrell\go set GOROOT=C:\Program Files\Go -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/golang-nuts/3731200a-4cca-496c-b715-c06980679917n%40googlegroups.com.