diff --git a/test/test_helper.rb b/test/test_helper.rb index 85708fee7..61e9ff33e 100644 --- a/test/test_helper.rb +++ b/test/test_helper.rb @@ -1,5 +1,6 @@ # frozen_string_literal: true +require "allocation_stats" require "simplecov" require "simplecov-console" require "rails/version" @@ -187,7 +188,6 @@ def capture_warnings(&block) end end end -require "allocation_stats" def assert_allocations(count_map, &block) trace = AllocationStats.trace(&block)