Skip to content

Commit 8d79172

Browse files
committed
Fix style in test/core_ext/enumerable_test.rb
1 parent 94884da commit 8d79172

File tree

1 file changed

+5
-6
lines changed

1 file changed

+5
-6
lines changed

activesupport/test/core_ext/enumerable_test.rb

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -371,10 +371,9 @@ def test_doesnt_bust_constant_cache
371371
end
372372

373373
private
374-
375-
def constant_cache_invalidations
376-
RubyVM.stat(:constant_cache_invalidations)
377-
rescue ArgumentError
378-
RubyVM.stat(:global_constant_state) # RUBY_VERSION < "3.2"
379-
end
374+
def constant_cache_invalidations
375+
RubyVM.stat(:constant_cache_invalidations)
376+
rescue ArgumentError
377+
RubyVM.stat(:global_constant_state) # RUBY_VERSION < "3.2"
378+
end
380379
end

0 commit comments

Comments
 (0)