Skip to content

Commit

Permalink
fix(gnovm): Correct file test issue in zream12 (gnolang#2340)
Browse files Browse the repository at this point in the history
This file(zrealm12.gno) causes a panic that isn't caught(as it's missing
import), making the test invalid.
This PR addresses the issue.
  • Loading branch information
ltzmaxwell authored Jun 14, 2024
1 parent 6ec4bb8 commit b42d0f0
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions gnovm/tests/files/zrealm12.gno
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
package test

import (
"gno.land/r/demo/tests"
"std"
)

Expand All @@ -23,3 +24,6 @@ func main() {
panic("should not happen")
}
}

// Output:
// second's child

0 comments on commit b42d0f0

Please sign in to comment.