-
Notifications
You must be signed in to change notification settings - Fork 68
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
Possible bug: Length of coverage
does not always match number of source lines in file
#234
Comments
DilumAluthge
changed the title
Length of
Length of Sep 15, 2019
coverage
does not always match number of lines in filecoverage
does not always match number of source lines in file
DilumAluthge
changed the title
Length of
Possible bug: Length of Sep 15, 2019
coverage
does not always match number of source lines in filecoverage
does not always match number of source lines in file
vtjnash
added a commit
to JuliaLang/julia
that referenced
this issue
Jan 6, 2020
Previously, we might append an extra empty line to the file. Also add error checking for I/O faults: > terminate called after throwing an instance of std::__ios_failure > what(): basic_ios::clear: iostream error Fixes JuliaCI/Coverage.jl#234
vtjnash
added a commit
to JuliaLang/julia
that referenced
this issue
Jan 9, 2020
Previously, we might append an extra empty line to the file. Also add error checking for I/O faults: > terminate called after throwing an instance of std::__ios_failure > what(): basic_ios::clear: iostream error Fixes JuliaCI/Coverage.jl#234
KristofferC
pushed a commit
to JuliaLang/julia
that referenced
this issue
Apr 11, 2020
Previously, we might append an extra empty line to the file. Also add error checking for I/O faults: > terminate called after throwing an instance of std::__ios_failure > what(): basic_ios::clear: iostream error Fixes JuliaCI/Coverage.jl#234
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Here is a minimal (albeit contrived) example.
In
example_1.jl
, the length ofcoverage[1].coverage
is equal to the length ofsplit(coverage[1].source, '\n')
.However, in
example_2.jl
, the length ofcoverage[2].coverage
is equal to the length ofsplit(coverage[2].source, '\n')
Contents of
example_1.jl
:Contents of
example_2.jl
:Julia session:
The text was updated successfully, but these errors were encountered: