lib/pork/imp.rb in pork-1.1.2 vs lib/pork/imp.rb in pork-1.1.3

- old
+ new

@@ -50,11 +50,11 @@ env.run_before(context) context.instance_eval(&test) if assertions == stat.assertions raise Error.new('Missing assertions') end - stat.io.print '.' + stat.case_pass end ensure stat.incr_tests run_protected(desc, stat){ env.run_after(context) } end @@ -63,16 +63,16 @@ yield rescue Error, StandardError => e case e when Skip stat.incr_skips - stat.io.print 's' + stat.case_skip when Failure stat.add_failure(e, description_for("would #{desc}")) - stat.io.print 'F' + stat.case_failed when Error, StandardError stat.add_error( e, description_for("would #{desc}")) - stat.io.print 'E' + stat.case_errored end end protected def execute_with_parent stat, super_env=nil