ruby-changes:50420
From: eregon <ko1@a...>
Date: Fri, 23 Feb 2018 00:34:22 +0900 (JST)
Subject: [ruby-changes:50420] eregon:r62536 (trunk): test/ruby/test_rubyoptions.rb: fix typo and only expect +JIT for CRuby
eregon 2018-02-23 00:34:17 +0900 (Fri, 23 Feb 2018) New Revision: 62536 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62536 Log: test/ruby/test_rubyoptions.rb: fix typo and only expect +JIT for CRuby Modified files: trunk/test/ruby/test_rubyoptions.rb Index: test/ruby/test_rubyoptions.rb =================================================================== --- test/ruby/test_rubyoptions.rb (revision 62535) +++ test/ruby/test_rubyoptions.rb (revision 62536) @@ -99,10 +99,10 @@ class TestRubyOptions < Test::Unit::Test https://github.com/ruby/ruby/blob/trunk/test/ruby/test_rubyoptions.rb#L99 VERSION_PATTERN_WITH_JIT = case RUBY_ENGINE - when 'jruby' - VERSIN_PATTERN - else + when 'ruby' /^ruby #{q[RUBY_VERSION]}(?:[p ]|dev|rc).*? \+JIT \[#{q[RUBY_PLATFORM]}\]$/ + else + VERSION_PATTERN end private_constant :VERSION_PATTERN_WITH_JIT -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/