aboutsummaryrefslogtreecommitdiff
path: root/src/cmd/go/testdata/script/cover_sync_atomic_import.txt
blob: 433af9ab738177aa8967f5ed8561c1bc00836e15 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
[short] skip
[gccgo] skip # gccgo has no cover tool

go test -short -cover -covermode=atomic -coverpkg=coverdep/p1 coverdep

-- go.mod --
module coverdep

go 1.16
-- p.go --
package p

import _ "coverdep/p1"

func F() {
}
-- p1/p1.go --
package p1

import _ "errors"
-- p_test.go --
package p

import "testing"

func Test(t *testing.T) {
	F()
}