From 9c9e23e2770bef9bc0168957676a2c2aa4f3dc1c Mon Sep 17 00:00:00 2001 From: John Hawthorn Date: Thu, 15 Jul 2021 16:38:26 -0700 Subject: Add assert_no_exits alias --- test/ruby/test_yjit.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/test/ruby/test_yjit.rb b/test/ruby/test_yjit.rb index 4c3889a3f7..28802e485d 100644 --- a/test/ruby/test_yjit.rb +++ b/test/ruby/test_yjit.rb @@ -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 -- cgit v1.2.3