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/run/repl-paste-4.scala | |
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/run/repl-paste-4.scala')
-rw-r--r-- | test/files/run/repl-paste-4.scala | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/test/files/run/repl-paste-4.scala b/test/files/run/repl-paste-4.scala index cb0a6aa768..90f0c1802b 100644 --- a/test/files/run/repl-paste-4.scala +++ b/test/files/run/repl-paste-4.scala @@ -3,9 +3,7 @@ import scala.tools.partest.SessionTest object Test extends SessionTest { def session = -s"""|Type in expressions to have them evaluated. - |Type :help for more information. - | +s"""| |scala> :paste $pastie |Pasting file $pastie... |defined class Foo |