mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
Add assert_no_exits alias
This commit is contained in:
parent
4040ca8293
commit
9c9e23e277
1 changed files with 4 additions and 0 deletions
|
@ -137,6 +137,10 @@ class TestYJIT < Test::Unit::TestCase
|
|||
RUBY
|
||||
end
|
||||
|
||||
def assert_no_exits(script)
|
||||
assert_compiles(script)
|
||||
end
|
||||
|
||||
def assert_compiles(test_script, insns: [], min_calls: 1, stdout: nil, exits: {})
|
||||
reset_stats = <<~RUBY
|
||||
YJIT.runtime_stats
|
||||
|
|
Loading…
Add table
Reference in a new issue