Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix go vet warnings: call to (*T).Fatalf from a non-test goroutine #166

Merged
merged 1 commit into from Dec 13, 2022

Conversation

vyskocilm
Copy link
Contributor

The goroutine started from test must not call t.Fatal, but t.Error. Adds
a sync.WaitGroup to make sure all goroutines have a chance to report an
error before test stops.

Similar fix to fsnotify/fsnotify#416

The goroutine started from test must not call t.Fatal, but t.Error. Adds
a sync.WaitGroup to make sure all goroutines have a chance to report an
error before test stops.
@codecov-commenter
Copy link

Codecov Report

Base: 87.63% // Head: 87.63% // No change to project coverage 👍

Coverage data is based on head (ed8db3c) compared to base (ae97080).
Patch has no changes to coverable lines.

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #166   +/-   ##
=======================================
  Coverage   87.63%   87.63%           
=======================================
  Files          15       15           
  Lines         954      954           
=======================================
  Hits          836      836           
  Misses         74       74           
  Partials       44       44           

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@mattn mattn merged commit 29bb160 into mattn:master Dec 13, 2022
@mattn
Copy link
Owner

mattn commented Dec 13, 2022

Thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants