Skip to content

Commit

Permalink
Enable GC profiler to pass tests before Ruby 3.1
Browse files Browse the repository at this point in the history
  • Loading branch information
alexisbernard committed Jun 14, 2024
1 parent cbe5980 commit 36b6937
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# frozen_string_literal: true

GC::Profiler.enable # Enable for Ruby < 3.1

path = File.expand_path("#{File.dirname(__FILE__)}/../lib")
$LOAD_PATH.unshift(path)

Expand Down

0 comments on commit 36b6937

Please sign in to comment.