From 36b69371fb527163975c66698b19c0fbb5cb79c6 Mon Sep 17 00:00:00 2001 From: Alexis Bernard Date: Fri, 14 Jun 2024 15:26:47 +0200 Subject: [PATCH] Enable GC profiler to pass tests before Ruby 3.1 --- test/helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/helper.rb b/test/helper.rb index f34398d..3b3b926 100644 --- a/test/helper.rb +++ b/test/helper.rb @@ -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)