diff options
Diffstat (limited to 'src/math')
| -rw-r--r-- | src/math/rand/default_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/math/rand/default_test.go b/src/math/rand/default_test.go index b42cd165c8..0ba51b4dbd 100644 --- a/src/math/rand/default_test.go +++ b/src/math/rand/default_test.go @@ -37,7 +37,7 @@ func TestDefaultRace(t *testing.T) { i := i t.Run(strconv.Itoa(i), func(t *testing.T) { t.Parallel() - cmd := testenv.Command(t, testenv.Executable(t), "-test.run=TestDefaultRace") + cmd := testenv.Command(t, testenv.Executable(t), "-test.run=^TestDefaultRace$") cmd = testenv.CleanCmdEnv(cmd) cmd.Env = append(cmd.Env, fmt.Sprintf("GO_RAND_TEST_HELPER_CODE=%d", i/2)) if i%2 != 0 { |
