github.com/megatontech/mynoteforgo@v0.0.0-20200507084910-5d0c6ea6e890/源码/cmd/go/testdata/script/test_devnull.txt (about)

     1  # go test -c -o NUL
     2  # should work (see golang.org/issue/28035).
     3  cd x
     4  go test -o=$devnull -c
     5  ! exists x.test$exe
     6  
     7  -- x/x_test.go --
     8  package x_test
     9  import (
    10      "testing"
    11  )
    12  func TestNUL(t *testing.T) {
    13  }