ruby-changes:67925
From: Hiroshi <ko1@a...>
Date: Sat, 11 Sep 2021 15:17:56 +0900 (JST)
Subject: [ruby-changes:67925] f73f9e1f89 (master): Replace minitest to test for backtrace_filter
https://git.ruby-lang.org/ruby.git/commit/?id=f73f9e1f89 From f73f9e1f893409d8b7b42ff5fbda104fdd277cba Mon Sep 17 00:00:00 2001 From: Hiroshi SHIBATA <hsbt@r...> Date: Sat, 11 Sep 2021 14:29:23 +0900 Subject: Replace minitest to test for backtrace_filter --- tool/lib/test/unit.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb index 35aeed6..a8c4a93 100644 --- a/tool/lib/test/unit.rb +++ b/tool/lib/test/unit.rb @@ -24,11 +24,11 @@ module Test https://github.com/ruby/ruby/blob/trunk/tool/lib/test/unit.rb#L24 unless $DEBUG then bt.each do |line| - break if line =~ /lib\/minitest/ + break if line =~ /lib\/test/ new_bt << line end - new_bt = bt.reject { |line| line =~ /lib\/minitest/ } if new_bt.empty? + new_bt = bt.reject { |line| line =~ /lib\/test/ } if new_bt.empty? new_bt = bt.dup if new_bt.empty? else new_bt = bt.dup -- cgit v1.1 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/