diff options
author | Peter Zhu <[email protected]> | 2024-10-02 11:04:18 -0400 |
---|---|---|
committer | Peter Zhu <[email protected]> | 2024-10-03 11:58:20 -0400 |
commit | 77db37813a5a436507260a92c8d41b616db1efd9 (patch) | |
tree | 243a7488f6c1ab8da61b5ad2df3de72ccc39492b /test/-ext- | |
parent | ac0a8c6230537cc92f137f517517f67ea2e34032 (diff) |
Fix indentation in test_after_gc_start_hook_with_GC_stress
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/11765
Diffstat (limited to 'test/-ext-')
-rw-r--r-- | test/-ext-/tracepoint/test_tracepoint.rb | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/test/-ext-/tracepoint/test_tracepoint.rb b/test/-ext-/tracepoint/test_tracepoint.rb index 48ffe2605c..bf66d8f105 100644 --- a/test/-ext-/tracepoint/test_tracepoint.rb +++ b/test/-ext-/tracepoint/test_tracepoint.rb @@ -66,15 +66,15 @@ class TestTracepointObj < Test::Unit::TestCase count = 0 hook = proc {count += 1} def run(hook) - stress, GC.stress = GC.stress, false - Bug.after_gc_start_hook = hook - begin - GC.stress = true - 3.times {Object.new} - ensure - GC.stress = stress - Bug.after_gc_start_hook = nil - end + stress, GC.stress = GC.stress, false + Bug.after_gc_start_hook = hook + begin + GC.stress = true + 3.times {Object.new} + ensure + GC.stress = stress + Bug.after_gc_start_hook = nil + end end run(hook) puts count |