diff options
author | Stan Lo <[email protected]> | 2022-12-02 22:00:39 +0000 |
---|---|---|
committer | git <[email protected]> | 2022-12-02 22:00:42 +0000 |
commit | 7161bf34e161979b97dbc0c1f7450c195faffcfe (patch) | |
tree | 5289838a46775004289c3390808d78e8d44a67a6 /test | |
parent | 41bacd9b0d0a2cec497b0b81c0d5916c5e98e96f (diff) |
[ruby/irb] Require pathname in test helper
(https://github.com/ruby/irb/pull/467)
https://github.com/ruby/irb/commit/39c6924c12
Diffstat (limited to 'test')
-rw-r--r-- | test/irb/helper.rb | 2 |
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 |