From 7c250c012798f80c2d42564b05c1f1e0d34b91cd Mon Sep 17 00:00:00 2001 From: Koichi ITO Date: Sun, 8 Jan 2017 15:37:41 +0900 Subject: [PATCH] Fix warning: `::[] is deprecated. Use ::new instead.` --- .simplecov | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.simplecov b/.simplecov index b205ee26..770d7dc6 100644 --- a/.simplecov +++ b/.simplecov @@ -1,9 +1,9 @@ require 'coveralls' -SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[ +SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter.new([ SimpleCov::Formatter::HTMLFormatter, Coveralls::SimpleCov::Formatter -] +]) SimpleCov.start do add_filter '/test' end