From 7161bf34e161979b97dbc0c1f7450c195faffcfe Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Fri, 2 Dec 2022 22:00:39 +0000 Subject: [PATCH] [ruby/irb] Require pathname in test helper (https://github.com/ruby/irb/pull/467) https://github.com/ruby/irb/commit/39c6924c12 --- test/irb/helper.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/irb/helper.rb b/test/irb/helper.rb index 56ec1a8374..e4ce7bff08 100644 --- a/test/irb/helper.rb +++ b/test/irb/helper.rb @@ -1,4 +1,6 @@ require "test/unit" +require "pathname" + begin require_relative "../lib/helper" rescue LoadError # ruby/ruby defines helpers differently