diff --git a/spec/spec_helper/simplecov.rb b/spec/spec_helper/simplecov.rb index 4f6719c..a208ed9 100644 --- a/spec/spec_helper/simplecov.rb +++ b/spec/spec_helper/simplecov.rb @@ -13,11 +13,13 @@ ] # Ruby 2.5+ - enable_coverage :branch - primary_coverage :branch + if RUBY_VERSION >= "2.5." + enable_coverage :branch + # primary_coverage :branch + end # Ruby 3.2+ - enable_coverage_for_eval + enable_coverage_for_eval if RUBY_VERSION >= "3.2." end SimpleCov.start