Skip to content

Commit 531bf3b

Browse files
committed
Enable warning on shape too complex
1 parent 014d723 commit 531bf3b

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

test/test_helper.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@
55
require "simplecov-console"
66
require "rails/version"
77

8+
Warning[:performance] = true
9+
810
if ENV["MEASURE_COVERAGE"]
911
SimpleCov.start do
1012
command_name "minitest-rails#{Rails::VERSION::STRING}-ruby#{RUBY_VERSION}"

0 commit comments

Comments
 (0)