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

     1  # Test with a valid _test.gno file
     2  
     3  gno test .
     4  
     5  ! stdout .+ 
     6  stderr 'ok      \. 	\d\.\d\ds'
     7  
     8  gno test ./...
     9  
    10  ! stdout .+ 
    11  stderr 'ok      \. 	\d\.\d\ds'
    12  
    13  -- valid.gno --
    14  package valid
    15  
    16  -- valid_test.gno --
    17  package valid
    18  
    19  import "testing"
    20  
    21  func TestAlwaysValid(t *testing.T) {
    22  	// noop
    23  }