summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStan Lo <stan.lo@shopify.com>2022-12-02 22:00:39 +0000
committergit <svn-admin@ruby-lang.org>2022-12-02 22:00:42 +0000
commit7161bf34e161979b97dbc0c1f7450c195faffcfe (patch)
tree5289838a46775004289c3390808d78e8d44a67a6
parent41bacd9b0d0a2cec497b0b81c0d5916c5e98e96f (diff)
[ruby/irb] Require pathname in test helper
(https://github.com/ruby/irb/pull/467) https://github.com/ruby/irb/commit/39c6924c12
-rw-r--r--test/irb/helper.rb2
1 files changed, 2 insertions, 0 deletions
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