Skip to content

Commit

Permalink
Fix failing spec
Browse files Browse the repository at this point in the history
SimpleCov 0.14.0 skip the :nocov: comments along with the code that
they skip. This commit fixes a spec to meet this change.

Ref: simplecov-ruby/simplecov@d4756e4
  • Loading branch information
tagliala committed Mar 15, 2017
1 parent bc984f7 commit 582e172
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/coveralls/simplecov_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ def source_fixture(filename)
it "nils the skipped lines" do
source_file = source_files.first
source_file[:coverage].should_not eq result.files.first.coverage
source_file[:coverage].should eq [nil, 1, 1, 1, nil, 0, 1, nil, nil, nil]
source_file[:coverage].should eq [nil, 1, 1, 1, nil, 0, nil, nil, nil, nil, nil]
end
end
end
Expand Down

0 comments on commit 582e172

Please sign in to comment.