test/helper.rb in peddler-1.6.5 vs test/helper.rb in peddler-1.6.6
- old
+ new
@@ -1,14 +1,13 @@
# frozen_string_literal: true
-if RUBY_ENGINE == 'ruby'
- require 'simplecov'
-
- SimpleCov.start do
- add_filter '/test/'
- end
+# Keep SimpleCov at top.
+require 'simplecov'
+SimpleCov.start do
+ add_filter '/test/'
end
+require 'backports/2.3.0/hash/dig'
require 'minitest/autorun'
require 'minitest/focus'
begin
require 'pry'
rescue LoadError