diff --git a/test/yamatanooroti/test_run_ruby.rb b/test/yamatanooroti/test_run_ruby.rb index da1b20d..f6710d4 100644 --- a/test/yamatanooroti/test_run_ruby.rb +++ b/test/yamatanooroti/test_run_ruby.rb @@ -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(%{>>>})']