diff options
author | Stan Lo <stan.lo@shopify.com> | 2022-11-03 17:12:31 +0000 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2022-11-03 17:12:35 +0000 |
commit | 00f559641a0b4941e0022c67657469dc565ce44d (patch) | |
tree | 59391ff20e2ac0dca96b1bfd52039d26a34a9922 | |
parent | c5d6a483f5f771aa904ea85dad35a368ddf8047a (diff) |
[ruby/irb] Require the entire irb lib in RubyLex test
(https://github.com/ruby/irb/pull/428)
RubyLex is not designed to be used alone. It's usually used with an IRB
context, which requires workspace. So its tests should have access to
those components too.
https://github.com/ruby/irb/commit/608f261da4
-rw-r--r-- | test/irb/test_ruby_lex.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/irb/test_ruby_lex.rb b/test/irb/test_ruby_lex.rb index 5d66dc5bb0..3d6455a710 100644 --- a/test/irb/test_ruby_lex.rb +++ b/test/irb/test_ruby_lex.rb @@ -1,5 +1,5 @@ $LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) -require 'irb/ruby-lex' +require 'irb' require 'test/unit' require 'ostruct' |