diff options
author | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-09-11 14:29:23 +0900 |
---|---|---|
committer | Hiroshi SHIBATA <hsbt@ruby-lang.org> | 2021-09-11 15:17:38 +0900 |
commit | f73f9e1f893409d8b7b42ff5fbda104fdd277cba (patch) | |
tree | 1ec137f3fb120ea8f2d84e97fb5d387c5c027fd7 /tool/lib | |
parent | bf5711f49874ca33aebdad6df2ae037533e9a800 (diff) | |
download | ruby-f73f9e1f893409d8b7b42ff5fbda104fdd277cba.tar.gz |
Replace minitest to test for backtrace_filter
Diffstat (limited to 'tool/lib')
-rw-r--r-- | tool/lib/test/unit.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tool/lib/test/unit.rb b/tool/lib/test/unit.rb index 35aeed6c21..a8c4a93b0f 100644 --- a/tool/lib/test/unit.rb +++ b/tool/lib/test/unit.rb @@ -24,11 +24,11 @@ module Test 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 |