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
This commit is contained in:
parent
2d1a415470
commit
abf3d25df2
@ -99,10 +99,10 @@ class TestRubyOptions < Test::Unit::TestCase
|
|||||||
|
|
||||||
VERSION_PATTERN_WITH_JIT =
|
VERSION_PATTERN_WITH_JIT =
|
||||||
case RUBY_ENGINE
|
case RUBY_ENGINE
|
||||||
when 'jruby'
|
when 'ruby'
|
||||||
VERSIN_PATTERN
|
|
||||||
else
|
|
||||||
/^ruby #{q[RUBY_VERSION]}(?:[p ]|dev|rc).*? \+JIT \[#{q[RUBY_PLATFORM]}\]$/
|
/^ruby #{q[RUBY_VERSION]}(?:[p ]|dev|rc).*? \+JIT \[#{q[RUBY_PLATFORM]}\]$/
|
||||||
|
else
|
||||||
|
VERSION_PATTERN
|
||||||
end
|
end
|
||||||
private_constant :VERSION_PATTERN_WITH_JIT
|
private_constant :VERSION_PATTERN_WITH_JIT
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user