Skip to content

Commit 6b9d8ac

Browse files
committed
add test
1 parent f638650 commit 6b9d8ac

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

test.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
# frozen_string_literal: true
2+
3+
require 'coverage'
4+
Coverage.start(branches: true)
5+
load '/gem/spec/fixtures/sample.rb'
6+
foo = Foo.new
7+
foo.bar
8+
foo.foo(false)
9+
puts Coverage.result

0 commit comments

Comments
 (0)