lib/ae/assertor.rb in ae-1.5.0 vs lib/ae/assertor.rb in ae-1.6.0
- old
+ new
@@ -100,10 +100,10 @@
pass = false
msg = "#{match} not raised"
rescue match => error
pass = true
msg = "#{match} raised"
- rescue Exception => error
+ rescue ::Exception => error
pass = false
msg = "#{match} expected but #{error.class} was raised"
ensure
$DEBUG = debug
end