diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-10-02 23:29:26 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-10-02 23:29:26 +0000 |
commit | 082a3edc21c2086b5bd44ab651b71ad4e38174c7 (patch) | |
tree | 5da5c7f74c56723936e1ed071285e27994306b7b | |
parent | 96906f755f88930d9e831364c13c27903303eb36 (diff) | |
download | scala-082a3edc21c2086b5bd44ab651b71ad4e38174c7.tar.gz scala-082a3edc21c2086b5bd44ab651b71ad4e38174c7.tar.bz2 scala-082a3edc21c2086b5bd44ab651b71ad4e38174c7.zip |
added a test for multi-line strings
-rw-r--r-- | test/files/run/interpreter.scala | 16 |
1 files changed, 14 insertions, 2 deletions
diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala index bc04e56114..9b270f380a 100644 --- a/test/files/run/interpreter.scala +++ b/test/files/run/interpreter.scala @@ -90,14 +90,26 @@ def x => y => z d="dd" /></a> -(1 + // give up early by typing two blank lines +/* + /* + multi-line comment + */ +*/ +// multi-line string +""" +hello +there +""" -</code>.text +(1 + // give up early by typing two blank lines + +</code>.text + /** A writer that skips the first line of text. The first * line of interpreter output is skipped because it includes * a version number. */ |