lib/pork.rb in pork-0.9.1 vs lib/pork.rb in pork-0.9.2
- old
+ new
@@ -6,10 +6,10 @@
Pork::Should.new(self, message, message_lazy, &checker)
end
end
module Pork
- Error = Class.new(Exception)
+ Error = Class.new(StandardError)
Failure = Class.new(Error)
Skip = Class.new(Error)
def self.stats ; @stats ||= Stats.new; end
def self.reset ; @stats = nil ; end