From 00f559641a0b4941e0022c67657469dc565ce44d Mon Sep 17 00:00:00 2001 From: Stan Lo Date: Thu, 3 Nov 2022 17:12:31 +0000 Subject: [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 --- test/irb/test_ruby_lex.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') 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' -- cgit v1.2.3