Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit 1786ea4

Browse files
authored
Merge pull request #482 from rspec/fix-simplecov-source-file-filter-main
Fix simplecov source file filter
2 parents 468c6cc + 500928d commit 1786ea4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/rspec/support/spec.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,8 @@ def self.setup_simplecov(&block)
6565

6666
def self.start_simplecov(&block)
6767
SimpleCov.start do
68-
add_filter "./bundle/"
69-
add_filter "./tmp/"
68+
add_filter "bundle/"
69+
add_filter "tmp/"
7070
add_filter do |source_file|
7171
# Filter out `spec` directory except when it is under `lib`
7272
# (as is the case in rspec-support)

0 commit comments

Comments
 (0)