Text file src/cmd/go/testdata/script/test_go111module_cache.txt

     1  env GO111MODULE=on
     2  go mod init foo
     3  go test
     4  stdout ^ok\s+foo
     5  env GO111MODULE=off
     6  go test
     7  stdout ^ok\s+
     8  ! stdout ^ok\s+(cache)$
     9  
    10  -- main_test.go --
    11  package main
    12  
    13  import "testing"
    14  
    15  func TestF(t *testing.T) {}
    16  

View as plain text