Skip to content

Commit

Permalink
ruby 2.7 windows also needs newer reline for test_meta_key
Browse files Browse the repository at this point in the history
  • Loading branch information
YO4 committed Nov 4, 2024
1 parent 23212e6 commit cbeb333
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/yamatanooroti/test_run_ruby.rb
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ def test_move_cursor_and_render

def test_meta_key
get_into_tmpdir
if !Yamatanooroti.win? || (RUBY_VERSION > '2.6.99' && RUBY_VERSION < '3.4.0')
if !Yamatanooroti.win? || (RUBY_VERSION >= '3' && RUBY_VERSION < '3.4.0')
command = ['ruby', '-rreline', '-e', 'Reline.readline(%{>>>})']
else
command = ['bundle', 'exec', 'ruby', '-e', 'require "reline"; Reline.readline(%{>>>})']
Expand Down

0 comments on commit cbeb333

Please sign in to comment.