Open piux2 opened 1 year ago
master seems to be succeeding normally. try cloning gno in a clean directory and running the test again there.
is your directory examples/gno.land/p/demo/avl
dirty?
master seems to be succeeding normally. try cloning gno in a clean directory and running the test again there.
is your directory
examples/gno.land/p/demo/avl
dirty?
thank you @thehowl for the help. here is the update.
I cloned a fresh local copy and run following command.
cd gnovm make _test.cmd
or run test directly go test ./cmd/gno -run '^TestGnoDoc$'
the error still exists.
it turns out, I had an old version of avl package here from an early build. The old avl does not have NewNode() and the test pick it up. ~/.gno/pkg/mod/gno.land/p/demo/avl
This does not happen in CI on github.
I removed ~/.gno/pkg, the test passed.
I have updated the name to reflect the new findings.
maybe we could apply a fix to make it so that root dir for gnovm tests is always the project's git root.
I'd say either (a) close this, and open new issue to do that or (b) repurpose this issue and change the title
Description
go test ./cmd/...