You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cd $(mktemp -d)
cat >ex.go <<.
package main
import (
"fmt"
_ "golang.org/x/sys/unix"
)
func main() {
fmt.Println("example")
}
.
go mod init example && go test all; echo $?
What did you expect to see?
0
What did you see instead?
1
The tests fail, presumably because it's run in a non-writable place.
What version of Go are you using (
go version
)?What did you do?
What did you expect to see?
What did you see instead?
The tests fail, presumably because it's run in a non-writable place.
With modules, is there a place that tests can write to?
The text was updated successfully, but these errors were encountered: