aboutsummaryrefslogtreecommitdiff
path: root/src/testing/sub_test.go
diff options
context:
space:
mode:
Diffstat (limited to 'src/testing/sub_test.go')
-rw-r--r--src/testing/sub_test.go8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/testing/sub_test.go b/src/testing/sub_test.go
index 07f6785c13..58def85441 100644
--- a/src/testing/sub_test.go
+++ b/src/testing/sub_test.go
@@ -6,6 +6,7 @@ package testing
import (
"io/ioutil"
+ "regexp"
"sync/atomic"
"time"
)
@@ -305,11 +306,12 @@ func TestTRun(t *T) {
},
}}
for _, tc := range testCases {
- ctx := newTestContext(tc.maxPar)
+ ctx := newTestContext(tc.maxPar, newMatcher(regexp.MatchString, "", ""))
root := &T{
common: common{
- barrier: make(chan bool),
- w: ioutil.Discard,
+ signal: make(chan bool),
+ name: "Test",
+ w: ioutil.Discard,
},
context: ctx,
}