ruby-changes:69074
From: John <ko1@a...>
Date: Thu, 21 Oct 2021 08:20:45 +0900 (JST)
Subject: [ruby-changes:69074] 9c9e23e277 (master): Add assert_no_exits alias
https://git.ruby-lang.org/ruby.git/commit/?id=9c9e23e277 From 9c9e23e2770bef9bc0168957676a2c2aa4f3dc1c Mon Sep 17 00:00:00 2001 From: John Hawthorn <john@h...> 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 https://github.com/ruby/ruby/blob/trunk/test/ruby/test_yjit.rb#L137 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.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/