From b42d0f06fb7c1e54cfdb4580fcd8684cd6e54d05 Mon Sep 17 00:00:00 2001 From: ltzmaxwell Date: Fri, 14 Jun 2024 16:38:05 +0800 Subject: [PATCH] fix(gnovm): Correct file test issue in zream12 (#2340) 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. --- gnovm/tests/files/zrealm12.gno | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnovm/tests/files/zrealm12.gno b/gnovm/tests/files/zrealm12.gno index ee9e85d827b..d201ecc1470 100644 --- a/gnovm/tests/files/zrealm12.gno +++ b/gnovm/tests/files/zrealm12.gno @@ -2,6 +2,7 @@ package test import ( + "gno.land/r/demo/tests" "std" ) @@ -23,3 +24,6 @@ func main() { panic("should not happen") } } + +// Output: +// second's child