summaryrefslogtreecommitdiff
path: root/test/files/run/interpreter.scala
diff options
context:
space:
mode:
authorLex Spoon <lex@lexspoon.org>2007-10-02 23:29:26 +0000
committerLex Spoon <lex@lexspoon.org>2007-10-02 23:29:26 +0000
commit082a3edc21c2086b5bd44ab651b71ad4e38174c7 (patch)
tree5da5c7f74c56723936e1ed071285e27994306b7b /test/files/run/interpreter.scala
parent96906f755f88930d9e831364c13c27903303eb36 (diff)
downloadscala-082a3edc21c2086b5bd44ab651b71ad4e38174c7.tar.gz
scala-082a3edc21c2086b5bd44ab651b71ad4e38174c7.tar.bz2
scala-082a3edc21c2086b5bd44ab651b71ad4e38174c7.zip
added a test for multi-line strings
Diffstat (limited to 'test/files/run/interpreter.scala')
-rw-r--r--test/files/run/interpreter.scala16
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"
/>&lt;/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. */