Skip to content

Commit

Permalink
Follow the deprecation warning from SimpleCov::Formatter::MultiFormatter
Browse files Browse the repository at this point in the history
  • Loading branch information
knu committed Jan 4, 2016
1 parent 2ac4fc6 commit 0df469c
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test/simplecov_start.rb
@@ -1,9 +1,9 @@
require 'simplecov'
require 'coveralls'

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

SimpleCov.start

0 comments on commit 0df469c

Please sign in to comment.