summaryrefslogtreecommitdiff
path: root/test/files/run/t5789.check
diff options
context:
space:
mode:
authorJames Iry <james.iry@typesafe.com>2012-12-07 15:46:04 -0800
committerJames Iry <james.iry@typesafe.com>2012-12-07 15:46:04 -0800
commit5f2b7c4c36f96f955573c4ac322b8ca6d632abc1 (patch)
tree4bc7f8c40942a6eb97555687e05ff82b71e127a3 /test/files/run/t5789.check
parent850128db455830e38f550d25406bb0a6dddde3b5 (diff)
downloadscala-5f2b7c4c36f96f955573c4ac322b8ca6d632abc1.tar.gz
scala-5f2b7c4c36f96f955573c4ac322b8ca6d632abc1.tar.bz2
scala-5f2b7c4c36f96f955573c4ac322b8ca6d632abc1.zip
SI-5789 Use the ReplTest framework in the test
Don't check for the crashed message, just dump the output from the REPL. Use the ReplTest framework to the make the test clean
Diffstat (limited to 'test/files/run/t5789.check')
-rw-r--r--test/files/run/t5789.check15
1 files changed, 14 insertions, 1 deletions
diff --git a/test/files/run/t5789.check b/test/files/run/t5789.check
index 3c459e9a54..ea8d4966b1 100644
--- a/test/files/run/t5789.check
+++ b/test/files/run/t5789.check
@@ -1 +1,14 @@
-completed successfully
+Type in expressions to have them evaluated.
+Type :help for more information.
+
+scala>
+
+scala> val n = 2
+n: Int = 2
+
+scala> () => n
+res0: () => Int = <function0>
+
+scala>
+
+scala>