From 859bab0305fa7ec96e2c5316d6a3c5f6e1de5237 Mon Sep 17 00:00:00 2001 From: James Strachan Date: Tue, 13 Mar 2012 12:17:59 +0000 Subject: [PATCH] removed some noise from the fail() methods --- libraries/stdlib/src/test/Test.kt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libraries/stdlib/src/test/Test.kt b/libraries/stdlib/src/test/Test.kt index 83e8a2522e8..df03b48b3b6 100644 --- a/libraries/stdlib/src/test/Test.kt +++ b/libraries/stdlib/src/test/Test.kt @@ -95,7 +95,7 @@ fun fails(block: ()-> Unit): Throwable? { asserter.fail("Expected an exception to be thrown") return null } catch (e: Throwable) { - println("Caught excepted exception: $e") + //println("Caught expected exception: $e") return e } } @@ -106,7 +106,7 @@ fun failsWith(block: ()-> Unit) { block() asserter.fail("Expected an exception to be thrown") } catch (e: T) { - println("Caught excepted exception: $e") + //println("Caught expected exception: $e") // OK } }