Removed unnecessary catch for exception

This commit is contained in:
Dan Sanduleac 2013-11-25 14:30:11 +00:00 committed by Mark Harrah
parent 9cfc7a4d91
commit 6a31b6acc4
1 changed files with 1 additions and 2 deletions

View File

@ -32,8 +32,7 @@ object SettingsTest extends Properties("settings")
else
iterate(value(t-1) )
}
try { evaluate( setting(chk, iterate(top)) :: Nil); true }
catch { case e: java.lang.Exception => ("Unexpected exception: " + e) |: false }
evaluate( setting(chk, iterate(top)) :: Nil); true
}
property("Derived setting chain depending on (prev derived, normal setting)") = forAllNoShrink(Gen.choose(1, 100)) { derivedSettings }