diff options
Diffstat (limited to 'test/files/pos/exceptions.scala')
-rw-r--r-- | test/files/pos/exceptions.scala | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/test/files/pos/exceptions.scala b/test/files/pos/exceptions.scala index 819368244d..f71d215a23 100644 --- a/test/files/pos/exceptions.scala +++ b/test/files/pos/exceptions.scala @@ -7,14 +7,14 @@ object Test { def main(args: Array[String]): Unit = { try { try { - System.out.println("hi!"); + Console.println("hi!"); error("xx"); } finally { - System.out.println("ho!") + Console.println("ho!") } } catch { - case ex: IOException => System.out.println("io exception!"); - case ex => System.out.println(ex); + case ex: IOException => Console.println("io exception!"); + case ex => Console.println(ex); } } } |