Skip to content

Commit

Permalink
fix: use test context
Browse files Browse the repository at this point in the history
  • Loading branch information
r3v4s committed Oct 3, 2024
1 parent 8fa74d2 commit 984093b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gnovm/cmd/gno/test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import (
"github.com/gnolang/gno/gnovm/pkg/gnoenv"
gno "github.com/gnolang/gno/gnovm/pkg/gnolang"
"github.com/gnolang/gno/gnovm/pkg/gnomod"
"github.com/gnolang/gno/gnovm/stdlibs"
"github.com/gnolang/gno/gnovm/tests"
teststd "github.com/gnolang/gno/gnovm/tests/stdlibs/std"
"github.com/gnolang/gno/tm2/pkg/colors"
"github.com/gnolang/gno/tm2/pkg/commands"
"github.com/gnolang/gno/tm2/pkg/errors"
Expand Down Expand Up @@ -458,7 +458,7 @@ func runTestFiles(

eval := m.Eval(res) // NOTE: verbose prints get here
if verbose {
ctx := m.Context.(stdlibs.ExecContext)
ctx := m.Context.(*teststd.TestExecContext)

events := ctx.EventLogger.Events()
for _, ev := range events[printedEvents:] {
Expand Down

0 comments on commit 984093b

Please sign in to comment.