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

     1  # TODO: test actual replacement of os.exit by debug.exit
     2  # test call to os.exit
     3  ucmd godebugtester run main.go
     4  contains stdout "=> Exit(0)"
     5  
     6  -- main.go --
     7  package main
     8  import "os"
     9  func main() {
    10  	os.Exit(0)
    11  }
    12