You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
❯ gno test. -v
--- WARNING: unable to read package path from gno.mod or gno root directory; try creating a gno.mod file
=== RUN TestIncrement
0
panic: i was instructed to revert!
--- FAIL: TestIncrement (0.00s)
=== RUN TestIncrement2
2
--- PASS: TestIncrement2 (0.00s)
.: test pkg: failed: "TestIncrement"
FAIL
FAIL . 0.69s
FAIL
FAIL
FAIL: 0 build errors, 1 test errors
Issue number one is this, where the machine state & context is not reset between tests, and the second problem is, as demonstrated with this issue, the fact that a panic statement does not revert the state.
The text was updated successfully, but these errors were encountered:
Description
Check this out:
Running
gno test
will output the following:Issue number one is this, where the machine state & context is not reset between tests, and the second problem is, as demonstrated with this issue, the fact that a
panic
statement does not revert the state.The text was updated successfully, but these errors were encountered: