Getting an error when trying to run go build ./...
from my $GOPATH/src .
no non-test Go files in <dir>
The error is correct there are no test files in <dir>
but why is that causing a compile error? Is it a bug?
Getting an error when trying to run go build ./...
from my $GOPATH/src .
no non-test Go files in <dir>
The error is correct there are no test files in <dir>
but why is that causing a compile error? Is it a bug?
Calling it a bug… the build shouldn't fail if the tests compile. Filed here: https://github.com/golang/go/issues/22409
The bug I filed was a duplicate of https://github.com/golang/go/issues/8279 looks like it was broken in 1.3.