You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just had a failing rcov run on code that kind of suprised me.
When rcov 0.9.6 scans extended regular expressions (multi-line with comments), only the first line is considered "covered" -- the remains are always uncovered.
For example, only the first line of the following will be "covered":
regex = /
https? # http or https
\:\/\/ # colon-slash-slash
( # hostname (capture group 1)
[A-Za-z0-9.-] # any seperators
)
\/ # trailing slash
/x
The text was updated successfully, but these errors were encountered:
Just hit on that myself. I'm writing my code with a threshold 100% coverage and this forces me to put the whole thing on one line, which isn't very readable.
I just had a failing rcov run on code that kind of suprised me.
When rcov 0.9.6 scans extended regular expressions (multi-line with comments), only the first line is considered "covered" -- the remains are always uncovered.
For example, only the first line of the following will be "covered":
The text was updated successfully, but these errors were encountered: