From 67034ac7e2a81e1fce0818bec8014f6a35a1353c Mon Sep 17 00:00:00 2001 From: Takashi Kokubun Date: Sat, 19 Nov 2022 21:34:46 -0800 Subject: [PATCH] [ruby/irb] Deal with inconsistency with ruby/ruby https://github.com/ruby/irb/commit/41d5012849 --- test/irb/helper.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/irb/helper.rb b/test/irb/helper.rb index 9d41a98237..a51e9a84b9 100644 --- a/test/irb/helper.rb +++ b/test/irb/helper.rb @@ -1,4 +1,8 @@ require "test/unit" +begin + require_relative "../lib/helper" +rescue LoadError # ruby/ruby defines helpers differently +end module IRB class InputMethod; end