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

     1  # testing simple gno lint command with any error
     2  
     3  gno lint ./good_file.gno 
     4  
     5  cmp stdout stdout.golden
     6  cmp stdout stderr.golden
     7  
     8  -- good_file.gno --
     9  package main
    10  
    11  import "fmt"
    12  
    13  func main() {
    14  	fmt.Println("Hello", 42)
    15  }
    16  
    17  -- stdout.golden --
    18  -- stderr.golden --