From c8ef95caee7a4cb0123cd73de1ca3e79459da160 Mon Sep 17 00:00:00 2001 From: Philipp Haller Date: Thu, 28 May 2009 09:10:26 +0000 Subject: Simpler log message for daemon actor test. --- test/files/jvm/daemon-actor-termination.check | 4 ++-- test/files/jvm/daemon-actor-termination.scala | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'test/files') diff --git a/test/files/jvm/daemon-actor-termination.check b/test/files/jvm/daemon-actor-termination.check index 22cb38fd7d..b2ff72fd0b 100644 --- a/test/files/jvm/daemon-actor-termination.check +++ b/test/files/jvm/daemon-actor-termination.check @@ -1,2 +1,2 @@ -I'm going to make you wait. -I'm tired of waiting for you. Good bye. +MSG1 +MSG2 diff --git a/test/files/jvm/daemon-actor-termination.scala b/test/files/jvm/daemon-actor-termination.scala index c3dd58e253..824bd76211 100644 --- a/test/files/jvm/daemon-actor-termination.scala +++ b/test/files/jvm/daemon-actor-termination.scala @@ -13,15 +13,15 @@ object Test { class MyDaemon extends DaemonActor { def act() { - println("I'm going to make you wait.") + println("MSG1") Thread.sleep(5000) - println("Ok, I'm done.") + println("done") } } def main(args: Array[String]) { val daemon = new MyDaemon daemon.start() Thread.sleep(500) // give the daemon a chance to start - println("I'm tired of waiting for you. Good bye.") + println("MSG2") } } -- cgit v1.2.3