The test assumed that you were working within a single directory $GOPATH. `go test` actually sets the current directory to the directory of the package being tested, so the relative path to the test file could be used instead. |
||
---|---|---|
.. | ||
statement | ||
parser.go | ||
parser_test.go |