Sha256: b9dff7b9177187e616e6cc2ae6b62c9faee3079743ddb6a2bf8dfded5ad958c6
Contents?: true
Size: 386 Bytes
Versions: 23
Compression:
Stored size: 386 Bytes
Contents
require "bundler/setup" require "que/web" require "minitest/autorun" class CustomFilter def self.filter(bt) return ['No backtrace'] unless bt new_bt = bt.take_while { |line| line !~ %r{minitest} } new_bt = bt.select { |line| line !~ %r{minitest} } if new_bt.empty? new_bt = bt.dup if new_bt.empty? new_bt end end Minitest.backtrace_filter = CustomFilter
Version data entries
23 entries across 23 versions & 1 rubygems