diff options
author | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-22 15:34:17 +0000 |
---|---|---|
committer | eregon <eregon@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-02-22 15:34:17 +0000 |
commit | abf3d25df21cd8cedc64ff47325338bd2e3138fc (patch) | |
tree | 493e3341b7ee006c7d8ab52d8974945eada18b37 /test/ruby/test_rubyoptions.rb | |
parent | 2d1a4154702688f8b93726f6ba2024eda1338220 (diff) | |
download | ruby-abf3d25df21cd8cedc64ff47325338bd2e3138fc.tar.gz |
test/ruby/test_rubyoptions.rb: fix typo and only expect +JIT for CRuby
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@62536 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_rubyoptions.rb')
-rw-r--r-- | test/ruby/test_rubyoptions.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/test/ruby/test_rubyoptions.rb b/test/ruby/test_rubyoptions.rb index 3a7c28afd3..396dda1692 100644 --- a/test/ruby/test_rubyoptions.rb +++ b/test/ruby/test_rubyoptions.rb @@ -99,10 +99,10 @@ class TestRubyOptions < Test::Unit::TestCase 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 |