Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Accept no backtrace fault as a workaround for test-spec :<

GitHub: fixes #22

Reported by Cédric Boutillier. Thanks!!!
  • Loading branch information...
commit 2ead57369735f01589687bc56d61bac37bf371a5 1 parent d605074
@kou kou authored
Showing with 3 additions and 0 deletions.
  1. +3 −0  lib/test/unit/ui/console/testrunner.rb
View
3  lib/test/unit/ui/console/testrunner.rb
@@ -191,6 +191,9 @@ def output_fault_in_detail(fault)
def output_fault_backtrace(fault)
snippet_is_shown = false
backtrace = fault.location
+ # workaround for test-spec. :<
+ # see also GitHub:#22
+ backtrace ||= []
backtrace.each_with_index do |entry, i|
output(entry)
next if snippet_is_shown
Please sign in to comment.
Something went wrong with that request. Please try again.