Running "go tool cover" on package name contains dot with Go 1.11rc1 or latest dev on branch master return an error, but success on Go 1.10.3.
Steps to reproduces - Create package name with dot ('.'). - Create minimal test file - Generate test coverage profile, go test -count=1 -coverprofile=cover.out ./... - Generate HTML coverage, go tool cover -html=cover.out -o cover.html Actual Result ``` 22:44 ~/tmp/sandbox/go/src/bug/gotoolcover.go master ms 1 % go version go version devel +bf80e3b564 Sat Aug 18 18:23:06 2018 +0000 linux/amd64 22:44 ~/tmp/sandbox/go/src/bug/gotoolcover.go master ms 0 % go test -count=1 -coverprofile=cover.out ./... ok bug/gotoolcover.go 0.001s coverage: 0.0% of statements [no tests to run] 22:44 ~/tmp/sandbox/go/src/bug/gotoolcover.go master ms 0 % go tool cover -html=cover.out -o cover.html cover: cannot run go list: exit status 1 stat bug/gotoolcover.go: no such file or directory ``` Expected result Running on package name without dot, ``` 22:45 ~/tmp/sandbox/go/src/bug/gotoolcover-go master ms 0 % go version go version devel +bf80e3b564 Sat Aug 18 18:23:06 2018 +0000 linux/amd64 22:45 ~/tmp/sandbox/go/src/bug/gotoolcover-go master ms 0 % go test -count=1 -coverprofile=cover.out ./... ok bug/gotoolcover-go 0.001s coverage: 0.0% of statements [no tests to run] 22:45 ~/tmp/sandbox/go/src/bug/gotoolcover-go master ms 0 % go tool cover -html=cover.out -o cover.html ``` Should I report this as an issue? -- 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. For more options, visit https://groups.google.com/d/optout.