From c417864e31a5d1accf4c67d42c5b608ff43efc45 Mon Sep 17 00:00:00 2001 From: Joel Hawksley Date: Tue, 17 Sep 2024 12:36:44 -0600 Subject: [PATCH] move require to top of file --- test/test_helper.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)