aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/test_go111module_cache.txt
blob: ca1de43a2b5dddbcb6d8fb3cf5cc0e95e6e358f8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
env GO111MODULE=on
go mod init foo
go test
stdout ^ok\s+foo
env GO111MODULE=off
go test
stdout ^ok\s+
! stdout ^ok\s+(cache)$

-- main_test.go --
package main

import "testing"

func TestF(t *testing.T) {}