lib/pork/report.rb in pork-1.4.1 vs lib/pork/report.rb in pork-1.4.2
- old
+ new
@@ -3,10 +3,10 @@
Report = Struct.new(:io)
module Report::Imp
def initialize o=$stdout
super
- extend(*Pork.report_extensions.reverse)
+ extend(*Pork.report_extensions.reverse) if Pork.report_extensions.any?
end
def case_start _; end
def case_end ; end
def case_pass ; io.print msg_pass ; end