blob: 4b18ebc45496f89add3ccc2e25aaf8690f2e5b64 (
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
29
|
# Tests Issue #54468
[short] skip 'links a test binary'
[!race] skip
go mod tidy
go test -c -o=$devnull -race .
! stderr 'cannot find package'
-- go.mod --
module testrace
go 1.18
require rsc.io/sampler v1.0.0
-- race_test.go --
//go:build race
package testrace
import (
"testing"
_ "rsc.io/sampler"
)
func TestRaceTag(t *testing.T) {
}
|