Debian Codegraph @

src/cmd/go/testdata/script/cover_dot_import.txt

raw
1 [short] skip
2 [compiler:gccgo] skip # gccgo has no cover tool
3
4 go test -coverpkg=coverdot/a,coverdot/b coverdot/b
5 ! stderr '[^0-9]0\.0%'
6 ! stdout '[^0-9]0\.0%'
7
8 -- go.mod --
9 module coverdot
10
11 go 1.16
12 -- a/a.go --
13 package a
14
15 func F() {}
16 -- b/b.go --
17 package b
18
19 import . "coverdot/a"
20
21 func G() { F() }
22 -- b/b_test.go --
23 package b
24
25 import "testing"
26
27 func TestG(t *testing.T) {
28 G()
29 }