summaryrefslogtreecommitdiff
path: root/test/files/cli/test2/Main.check.scala
diff options
context:
space:
mode:
authormichelou <michelou@epfl.ch>2006-06-19 11:52:21 +0000
committermichelou <michelou@epfl.ch>2006-06-19 11:52:21 +0000
commit68159e91ab11e631005d4ba399e8e30269b69cac (patch)
treea5274e6acdd1315e4385e2e01766a1514c6da234 /test/files/cli/test2/Main.check.scala
parentadab52e289e243f984578fc8c1d404041eeb5ba4 (diff)
downloadscala-68159e91ab11e631005d4ba399e8e30269b69cac.tar.gz
scala-68159e91ab11e631005d4ba399e8e30269b69cac.tar.bz2
scala-68159e91ab11e631005d4ba399e8e30269b69cac.zip
updated check files for clitest
Diffstat (limited to 'test/files/cli/test2/Main.check.scala')
-rw-r--r--test/files/cli/test2/Main.check.scala13
1 files changed, 11 insertions, 2 deletions
diff --git a/test/files/cli/test2/Main.check.scala b/test/files/cli/test2/Main.check.scala
index aca383de3e..80cbb50fa9 100644
--- a/test/files/cli/test2/Main.check.scala
+++ b/test/files/cli/test2/Main.check.scala
@@ -1,5 +1,14 @@
-Unrecognized option: -cpp
-Could not create the Java virtual machine.
+unknown option: '-cpp'
+scala [ <compiler-option> | -howtorun:how ]... [<torun> <arguments>]
+
+<compiler-option>'s are as for scalac; see scalac -help.
+<torun>, if present, is an object or script file to run.
+If no <torun> is present, run an interactive interpreter.
+-howtorun allows explicitly specifying how to run <torun>:
+ script: it is a script file
+ object: it is an object name
+ guess: (the default) try to guess
+
2: 1: test 1 passed (1)
2: 1: test 2 passed (1)
2: 1: test 3 passed (1)