diff options
author | Stan Lo <stan001212@gmail.com> | 2023-03-30 17:17:17 +0100 |
---|---|---|
committer | git <svn-admin@ruby-lang.org> | 2023-04-02 15:34:28 +0000 |
commit | cd94bcdc46fc5d8f6bc0da23223c75335677d253 (patch) | |
tree | 046e661bc4906f4fa9b70d4f77284f2cf0fb5838 /test | |
parent | f25791884c8efa5ea6598c82ae5015f5fcfb8ebb (diff) | |
download | ruby-cd94bcdc46fc5d8f6bc0da23223c75335677d253.tar.gz |
[ruby/irb] Don't check RUBY_ENGINE when deciding whether to accept kargs
Ruby implementations like JRuby and TruffleRuby already indicate their
compatibility target with RUBY_VERSION. We don't need to exclude
them from accepting keyword arguments as long as they target 2.7+.
https://github.com/ruby/irb/commit/bf20faa4e6
Co-authored-by: Kevin Menard <kevin@nirvdrum.com>
Diffstat (limited to 'test')
-rw-r--r-- | test/irb/test_cmd.rb | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/test/irb/test_cmd.rb b/test/irb/test_cmd.rb index 8af7562505..ef864fb5c9 100644 --- a/test/irb/test_cmd.rb +++ b/test/irb/test_cmd.rb @@ -733,7 +733,6 @@ module TestIRB end def test_ls_grep - pend if RUBY_ENGINE == 'truffleruby' out, err = execute_lines("ls 42\n") assert_empty err assert_match(/times/, out) @@ -752,7 +751,6 @@ module TestIRB end def test_ls_grep_empty - pend if RUBY_ENGINE == 'truffleruby' out, err = execute_lines("ls\n") assert_empty err assert_match(/whereami/, out) |