Closed gmlewis closed 5 months ago
I have no idea. Do you get a similar error when you type go test ./...
in the Terminal.app?
Yes, it turns out I do:
glenn@glenn-MacM2Pro ~/go/src/github.com/gmlewis/gep/model (master) $ go test ./...
--- FAIL: TestNewGymnasiumAgents (0.00s)
--- FAIL: TestNewGymnasiumAgents/Blackjack (0.00s)
gymnasium-agents_test.go:67: test
FAIL
FAIL github.com/gmlewis/gep/v2/model 0.162s
FAIL
Then it's an error in go test
. Sorry but there is nothing smart-compile.el
can do.
OK, thanks. I appreciate your help. Closing.
Sorry, I have tried searching for how to fix this, but found nothing, so I'm asking here.
I'm running Emacs version 28.2 (9.0) on a Mac M2 Max and have the latest
smart-compile.el
. I typeCtrl-x Ctrl-e
to run "go test ./..." and the output looks like this:Note the leading whitespace before
gymnasium-agent_test.go:64:
.Now, when I type "Ctrl-x `", the bottom buffer says:
which also has extra leading whitespace in the filename
gymnasium-agent_test.go
. When I hit "Enter", it says:Cannot find ' gymnasium-agent_test.go'
even though the file exists.How can I fix this problem? Thank you!