File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -124,7 +124,7 @@ func (self *context) EnumerateTests() (traceEvents []tapjio.TraceEvent, testRunn
124
124
traceEvents = append (traceEvents , trace )
125
125
return
126
126
},
127
- OnTest : func (test tapjio.TestEvent ) ( err error ) {
127
+ OnTest : func (test tapjio.TestEvent ) error {
128
128
if cfg .SquashPolicy == SquashNothing ||
129
129
cfg .SquashPolicy == SquashByFile && (currentRunner == nil || currentRunner .file != test .File ) ||
130
130
cfg .SquashPolicy == SquashAll && currentRunner == nil {
@@ -138,7 +138,7 @@ func (self *context) EnumerateTests() (traceEvents []tapjio.TraceEvent, testRunn
138
138
}
139
139
}
140
140
currentRunner .filters = append (currentRunner .filters , test .Filter )
141
- return
141
+ return nil
142
142
},
143
143
OnEnd : func (reason error ) error {
144
144
if currentRunner != nil {
You can’t perform that action at this time.
0 commit comments