ruby-changes:59588
From: aycabta <ko1@a...>
Date: Wed, 1 Jan 2020 06:19:13 +0900 (JST)
Subject: [ruby-changes:59588] 049292e302 (master): Add load path and require for ruby/ruby
https://git.ruby-lang.org/ruby.git/commit/?id=049292e302 From 049292e3021524bad531a82f5d9a51a22fb88640 Mon Sep 17 00:00:00 2001 From: aycabta <aycabta@g...> Date: Wed, 1 Jan 2020 02:04:41 +0900 Subject: Add load path and require for ruby/ruby diff --git a/test/irb/test_ruby_lex.rb b/test/irb/test_ruby_lex.rb index 51ae5e4..f3a9b30 100644 --- a/test/irb/test_ruby_lex.rb +++ b/test/irb/test_ruby_lex.rb @@ -1,3 +1,5 @@ https://github.com/ruby/ruby/blob/trunk/test/irb/test_ruby_lex.rb#L1 +$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__) +require 'irb/ruby-lex' require 'test/unit' require 'ostruct' -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/