From 082a3edc21c2086b5bd44ab651b71ad4e38174c7 Mon Sep 17 00:00:00 2001 From: Lex Spoon Date: Tue, 2 Oct 2007 23:29:26 +0000 Subject: added a test for multi-line strings --- test/files/run/interpreter.scala | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) (limited to 'test/files/run/interpreter.scala') 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 +""" -.text +(1 + // give up early by typing two blank lines + +.text + /** A writer that skips the first line of text. The first * line of interpreter output is skipped because it includes * a version number. */ -- cgit v1.2.3