mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
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
1 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue