Skip to content

Commit

Permalink
move require to top of file
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhawksley committed Sep 17, 2024
1 parent c51c433 commit c417864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/test_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# frozen_string_literal: true

require "allocation_stats"
require "simplecov"
require "simplecov-console"
require "rails/version"
Expand Down Expand Up @@ -187,7 +188,6 @@ def capture_warnings(&block)
end
end
end
require "allocation_stats"

def assert_allocations(count_map, &block)
trace = AllocationStats.trace(&block)
Expand Down

0 comments on commit c417864

Please sign in to comment.