test_rubyoptions.rb: let test_verbose work w/ --jit
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63286 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9aab4b6bc7
commit
0b01776d43
@ -109,7 +109,9 @@ class TestRubyOptions < Test::Unit::TestCase
|
||||
def test_verbose
|
||||
assert_in_out_err(["-vve", ""]) do |r, e|
|
||||
assert_match(VERSION_PATTERN, r[0])
|
||||
assert_equal(RUBY_DESCRIPTION, r[0])
|
||||
description = RUBY_DESCRIPTION
|
||||
description = description.gsub(/\+JIT /, '') if RubyVM::MJIT.enabled?
|
||||
assert_equal(description, r[0])
|
||||
assert_equal([], e)
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user