lib/rgot/t.rb in rgot-0.1.5 vs lib/rgot/t.rb in rgot-0.2.0
- old
+ new
@@ -6,17 +6,15 @@
@name = name
@module.extend @module
end
def run
- begin
- catch(:skip) { call }
- finish!
- rescue => e
- fail!
- report
- raise e
- end
+ catch(:skip) { call }
+ finish!
+ rescue => e
+ fail!
+ report
+ raise e
end
def report
duration = Rgot.now - @start
template = "--- %s: %s (%.2fs)\n%s"