Skip to content

Commit 28dae34

Browse files
committed
Enable branch coverage when testing
1 parent cf44130 commit 28dae34

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/test.rb

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@
1313

1414
ENV.delete('COVERAGE')
1515
SimpleCov.instance_eval do
16+
enable_coverage :branch
17+
1618
start do
1719
add_filter "/test/"
1820
add_group('Missing'){|src| src.covered_percent < 100}

0 commit comments

Comments
 (0)