Catch un-checked exceptions
authorGeorgios Gousios <gousiosg@gmail.com>
Fri, 18 Nov 2011 15:00:47 +0000 (17:00 +0200)
committerGeorgios Gousios <gousiosg@gmail.com>
Fri, 18 Nov 2011 15:00:47 +0000 (17:00 +0200)
logic/src/test/scala/gr/grnet/aquarium/logic/test/TestMethods.scala

index 9195951..4dae8b0 100644 (file)
@@ -50,6 +50,7 @@ trait TestMethods {
       assert(false)
     } catch {
       case e: Exception => assert(true)
+      case t: Throwable => assert(true)
     }
   }