diff options
Diffstat (limited to 'src/runtime/abi_test.go')
| -rw-r--r-- | src/runtime/abi_test.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/runtime/abi_test.go b/src/runtime/abi_test.go index 0c9488a5f4..d7039e758a 100644 --- a/src/runtime/abi_test.go +++ b/src/runtime/abi_test.go @@ -40,7 +40,7 @@ func TestFinalizerRegisterABI(t *testing.T) { // Actually run the test in a subprocess because we don't want // finalizers from other tests interfering. if os.Getenv("TEST_FINALIZER_REGABI") != "1" { - cmd := testenv.CleanCmdEnv(exec.Command(os.Args[0], "-test.run=TestFinalizerRegisterABI", "-test.v")) + cmd := testenv.CleanCmdEnv(exec.Command(os.Args[0], "-test.run=^TestFinalizerRegisterABI$", "-test.v")) cmd.Env = append(cmd.Env, "TEST_FINALIZER_REGABI=1") out, err := cmd.CombinedOutput() if !strings.Contains(string(out), "PASS\n") || err != nil { |
