github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/cmd/gno/testdata/gno_test/output_sync.txtar (about) 1 # Test Output instruction updated 2 3 gno test -v . -update-golden-tests 4 5 ! stdout .+ # stdout should be empty 6 stderr '=== RUN file/x_filetest.gno' 7 stderr '--- PASS: file/x_filetest.gno \(\d\.\d\ds\)' 8 stderr 'ok \. \d\.\d\ds' 9 10 cmp x_filetest.gno x_filetest.gno.golden 11 12 -- x_filetest.gno -- 13 package main 14 15 func main() { 16 println("hey") 17 println("hru?") 18 } 19 20 // Output: 21 // hey 22 23 -- x_filetest.gno.golden -- 24 package main 25 26 func main() { 27 println("hey") 28 println("hru?") 29 } 30 31 // Output: 32 // hey 33 // hru? 34