Skip to content

Commit

Permalink
Merge a fix to the tests' simplecov setup from #58
Browse files Browse the repository at this point in the history
This fixes a deprecation warning:

    simplecov_formatter_class: [DEPRECATION] ::[] is deprecated.
    Use ::new instead.

References #57.
  • Loading branch information
chrisk committed Jun 14, 2017
2 parents 40af388 + 7101e80 commit 6f7598b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/helpers/start_simplecov.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def simplecov_formatter_class
formatters << Console
formatters << HTMLFormatter if html_report_requested?
end
MultiFormatter[*formatters]
MultiFormatter.new(formatters)
end

def this_process_responsible_for_coverage_reporting?
Expand Down

0 comments on commit 6f7598b

Please sign in to comment.