• Nick Thomas's avatar
    Fix the gcovr coverage regex by removing line separators before scanning · 000ddc96
    Nick Thomas authored
    RE2 differs from Ruby in handling multiple-line strings. The string "foo\n"
    will not match the regular expression "foo$" unless multi-line mode is enabled
    (and it's off by default).
    
    Since we're already scanning the build trace line by line (and so multi-line
    coverage regular expressions won't work), we can fix this by removing the line
    separator before scanning the string.
    000ddc96
stream_spec.rb 7.48 KB