-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
More multiline issues: arrays and chained expressions #37
Comments
Thank you for this great snippet. However adding even more regexps to address all these examples feels wrong to me because there will always be weird edge cases that can't be handled by regexps. So I'm tagging this issue as a duplicate/reminder of #25 |
Indeed, I managed to get a 65.91% coverage on this snippet with a Bash solution, using regular expressions and hacks, but without a lexer it will be impossible to get to 100%. Something I find quite problematic is how the I wonder if we could get to 100%, even with a lexer, if the
(Emphasis mine) Maybe a more reliable way would be to do heuristics to match the actual line using the value of I also wonder how Zsh handles this. |
More info on this stackoverflow post and in this gist I made in response. |
This snippet should have 100% coverage
Instead I'm getting 60%.
Using bashcov 1.8.2.
Thank you.
The text was updated successfully, but these errors were encountered: