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
package wrappedtestpanicorigcall
import (
"std""testing""gno.land/p/demo/urequire"
)
funcTestFoo(t*testing.T) {
std.AssertOriginCall() // does not panic, expectedurequire.NotPanics(t, func() {
std.AssertOriginCall() // panics while it should not
})
}
Wrapped
AssertOriginCall
panics in testsYour environment
Steps to reproduce
Run this test:
You can find a branch with it here
Expected behaviour
The test passes
Actual behaviour
The test fails
Logs
The text was updated successfully, but these errors were encountered: