-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
:GoCoverage does return SUCCESS if no test files exists #859
Comments
Hi, how about adding the |
My fix is wrong, reverting :) |
@tsne that sounds like a good plan to tackle. Or we just can check if there is any |
@tsne this is now fixed. We just check if there is any _test.go files and abort. Let me know if it doesn't work for you :) |
Hi @fatih. The fix works fine for me. Thank you. |
I think this change breaks the expected behaviour when running
|
@mrnugget good point. I'll change the check so it only covers |
@mrnugget This is now fixed in master. Thanks for the feedback. |
@fatih Thanks so much, that was fast :) |
It should either assume the coverage is
0
or we should echo an error that :GoCoverage can't be run because there is no test files.The text was updated successfully, but these errors were encountered: