What version of Go are you using (go version)?
$ go version
go1.12.6
Does this issue reproduce with the latest release?
Yes
What operating system and processor architecture are you using (go env)?
go env Output
$ go env
https://play.golang.org/
What did you do?
Run example in https://golang.org/pkg/io/ioutil/#WriteFile
What did you expect to see?
Expected file created
What did you see instead?
2009/11/10 23:00:00 open testdata/hello: No such file or directory
Program exited.