Skip to content

Commit

Permalink
Require the entire irb lib in RubyLex test (#428)
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
st0012 authored Nov 3, 2022
1 parent 1aeeb86 commit 608f261
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/irb/test_ruby_lex.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$LOAD_PATH.unshift File.expand_path('../../lib', __FILE__)
require 'irb/ruby-lex'
require 'irb'
require 'test/unit'
require 'ostruct'

Expand Down

0 comments on commit 608f261

Please sign in to comment.