Skip to content

Commit

Permalink
#187 Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
fetinin committed Oct 27, 2022
1 parent 39b287c commit 454cfcc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions runner/runner.go
Expand Up @@ -66,6 +66,8 @@ func (r *Runner) Run() error {

hasFocused := checkHasFocused(tests)
for _, t := range tests {
// make a copy because go test runner runs tests in separate goroutines
// and without copy tests will override each other
test := t
if hasFocused {
switch test.GetStatus() {
Expand Down

0 comments on commit 454cfcc

Please sign in to comment.