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

     1  # Test Output instruction incorrect
     2  
     3  ! gno test -v .
     4  
     5  ! stdout .+ # stdout should be empty
     6  stderr '=== RUN   file/x_filetest.gno'
     7  stderr 'panic: fail on x_filetest.gno: diff:'
     8  stderr '--- Expected'
     9  stderr '\+\+\+ Actual'
    10  stderr '@@ -1,2 \+1 @@'
    11  stderr 'hey'
    12  stderr '-hru?'
    13  
    14  -- x_filetest.gno --
    15  package main
    16  
    17  func main() {
    18  	println("hey")
    19  }
    20  
    21  // Output:
    22  // hey
    23  // hru?