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 capturing of coverpkg output #190

Merged
merged 1 commit into from Apr 17, 2021

Conversation

dnephin
Copy link
Member

@dnephin dnephin commented Apr 17, 2021

Fixes #189

The check for coverage output was a little too strict. It was only matching coverage output by the -cover flag. The -coverpkg output is a little different.

This commit fixes the check, and adds tests for both.

The check for coverage output was a little too strict. It was only matching coverage
output by the -cover flag. The -coverpkg output is a little different.

This commit fixes the check, and adds tests for both.
@dnephin dnephin merged commit 50d8cb4 into gotestyourself:main Apr 17, 2021
@dnephin dnephin deleted the print-coverpkg-output branch April 17, 2021 17:43
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.

Coverage not reported when -coverpkg flag is used
1 participant