github.com/gnolang/gno@v0.0.0-20240520182011-228e9d0192ce/gnovm/cmd/gno/testdata/gno_test/output_correct.txtar (about)

     1  # Test Output instruction correct
     2  
     3  gno test -v .
     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  -- x_filetest.gno --
    11  package main
    12  
    13  func main() {
    14  	println("hey")
    15  	println("hru?")
    16  }
    17  
    18  // Output:
    19  // hey
    20  // hru?