Skip to content

Commit

Permalink
Fix deprecation warning for SimpleCov formatter
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszgorniak committed Jan 8, 2025
1 parent fa23a7c commit 0fe581e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
begin
require 'simplecov'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([
SimpleCov::Formatter::HTMLFormatter
]
])

SimpleCov.start do
add_filter '/spec/'
Expand Down

0 comments on commit 0fe581e

Please sign in to comment.