Add assert_no_exits alias
This commit is contained in:
parent
4040ca8293
commit
9c9e23e277
@ -137,6 +137,10 @@ class TestYJIT < Test::Unit::TestCase
|
|||||||
RUBY
|
RUBY
|
||||||
end
|
end
|
||||||
|
|
||||||
|
def assert_no_exits(script)
|
||||||
|
assert_compiles(script)
|
||||||
|
end
|
||||||
|
|
||||||
def assert_compiles(test_script, insns: [], min_calls: 1, stdout: nil, exits: {})
|
def assert_compiles(test_script, insns: [], min_calls: 1, stdout: nil, exits: {})
|
||||||
reset_stats = <<~RUBY
|
reset_stats = <<~RUBY
|
||||||
YJIT.runtime_stats
|
YJIT.runtime_stats
|
||||||
|
Loading…
x
Reference in New Issue
Block a user