diff options
author | Som Snytt <som.snytt@gmail.com> | 2015-06-24 21:32:07 -0700 |
---|---|---|
committer | Som Snytt <som.snytt@gmail.com> | 2015-06-24 21:32:07 -0700 |
commit | 91243694982f10d6061edac562b9af32b7bc9f4f (patch) | |
tree | 2b651f9c4bc5e83ab93ed139b95336a6574cbc08 /test/files/jvm | |
parent | eab44dd09223974c7515a2413bc461ee3808d682 (diff) | |
download | scala-91243694982f10d6061edac562b9af32b7bc9f4f.tar.gz scala-91243694982f10d6061edac562b9af32b7bc9f4f.tar.bz2 scala-91243694982f10d6061edac562b9af32b7bc9f4f.zip |
SI-9206 Update REPL welcome message
Everyone knows that a `help` command will result in `more information`.
This commit moves the version string to the second line and adds some
verve to the welcome.
If anyone can't live without the old banner, they are now able to
configure it explicitly, so there is still no blood on our hands.
```
$ scala
Welcome to Scala version 2.11.6 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_40).
Type in expressions to have them evaluated.
Type :help for more information.
scala> :quit
$ skala
Welcome to Scala!
version 2.11.7-20150623-155244-eab44dd092 (Java HotSpot(TM) 64-Bit Server VM, Java 1.8.0_40).
Type in expressions for evaluation. Or try :help.
scala> :quit
```
REPL tests now lop off the actual length of the welcome header; or, if
necessary, remove the version number from a header embedded in output.
Diffstat (limited to 'test/files/jvm')
-rw-r--r-- | test/files/jvm/interpreter.check | 2 | ||||
-rw-r--r-- | test/files/jvm/throws-annot-from-java.check | 2 | ||||
-rw-r--r-- | test/files/jvm/xml05.check | 2 |
3 files changed, 0 insertions, 6 deletions
diff --git a/test/files/jvm/interpreter.check b/test/files/jvm/interpreter.check index 9e875235c7..08372685d6 100644 --- a/test/files/jvm/interpreter.check +++ b/test/files/jvm/interpreter.check @@ -1,5 +1,3 @@ -Type in expressions to have them evaluated. -Type :help for more information. scala> // basics diff --git a/test/files/jvm/throws-annot-from-java.check b/test/files/jvm/throws-annot-from-java.check index c541b26fcc..ace264a4f5 100644 --- a/test/files/jvm/throws-annot-from-java.check +++ b/test/files/jvm/throws-annot-from-java.check @@ -1,5 +1,3 @@ -Type in expressions to have them evaluated. -Type :help for more information. scala> :power ** Power User mode enabled - BEEP WHIR GYVE ** diff --git a/test/files/jvm/xml05.check b/test/files/jvm/xml05.check index cad907525d..d456c5e1e4 100644 --- a/test/files/jvm/xml05.check +++ b/test/files/jvm/xml05.check @@ -1,5 +1,3 @@ -Type in expressions to have them evaluated. -Type :help for more information. scala> <city name="San José"/> res0: scala.xml.Elem = <city name="San José"/> |