aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStan Lo <stan.lo@shopify.com>2022-11-03 17:12:31 +0000
committergit <svn-admin@ruby-lang.org>2022-11-03 17:12:35 +0000
commit00f559641a0b4941e0022c67657469dc565ce44d (patch)
tree59391ff20e2ac0dca96b1bfd52039d26a34a9922
parentc5d6a483f5f771aa904ea85dad35a368ddf8047a (diff)
downloadruby-00f559641a0b4941e0022c67657469dc565ce44d.tar.gz
[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.rb2
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'