github.com/jmigpin/editor@v1.6.0/core/godebug/testdata/basic_end_cleanup.txt (about)

     1  # cleanup dir at the end
     2  
     3  #ucmd godebugtester test -work main_test.go main.go
     4  ucmd godebugtester test main_test.go main.go
     5  
     6  exec ls $WORK
     7  fail exec test -f $WORK/*.godebug
     8  
     9  -- go.mod --
    10  module mod1
    11  -- main.go --
    12  package main
    13  func main() {
    14  	fa()
    15  }
    16  func fa()int{
    17  	return 10
    18  }	
    19  -- main_test.go --
    20  package main
    21  import "testing"
    22  func TestFa(t*testing.T){
    23  	fa()
    24  	//t.Fail()
    25  }
    26