Skip to content

Commit

Permalink
Filter out example using conditional filters
Browse files Browse the repository at this point in the history
  • Loading branch information
marcotc authored and amatsuda committed Jan 13, 2025
1 parent 99ef976 commit ce45fa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/combine/results_combiner_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,8 @@
expect(subject[source_fixture("three.rb")]["lines"]).to eq([nil, 3, 7])
end

it "always returns a Hash object for branches" do
expect(subject[source_fixture("three.rb")]["branches"]).to eq({}) if SimpleCov.branch_coverage_supported?
it "always returns a Hash object for branches", if: SimpleCov.branch_coverage_supported? do
expect(subject[source_fixture("three.rb")]["branches"]).to eq({})
end
end
end
Expand Down

0 comments on commit ce45fa6

Please sign in to comment.