1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

Fix typo in platform matcher

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67534 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
k0kubun 2019-04-14 05:40:18 +00:00
parent fa13bb1a6f
commit 661cefc581

View file

@ -529,7 +529,7 @@ class TestJIT < Test::Unit::TestCase
print block.call(obj)
end;
if RUBY_PLATFORM == /i686/
if RUBY_PLATFORM =~ /i686/
skip 'recompilation is not happening on i686'
end
# send call -> optimized call (send JIT) -> optimized call
@ -708,7 +708,7 @@ class TestJIT < Test::Unit::TestCase
end
def test_inlined_undefined_ivar
if RUBY_PLATFORM == /i686/
if RUBY_PLATFORM =~ /i686/
skip 'recompilation is not happening on i686'
end
assert_eval_with_jit("#{<<~"begin;"}\n#{<<~"end;"}", stdout: "bbb", success_count: 3, min_calls: 3)