diff options
author | Lex Spoon <lex@lexspoon.org> | 2007-07-13 21:44:56 +0000 |
---|---|---|
committer | Lex Spoon <lex@lexspoon.org> | 2007-07-13 21:44:56 +0000 |
commit | 5c473c90d8e4eb324417e251569d2deac5ba896e (patch) | |
tree | 8009bced3e12da1a52d4bb175dd30d2581695455 /test/files | |
parent | 6d98fcf8efba81f77bb3875382ddad22f7a4a15b (diff) | |
download | scala-5c473c90d8e4eb324417e251569d2deac5ba896e.tar.gz scala-5c473c90d8e4eb324417e251569d2deac5ba896e.tar.bz2 scala-5c473c90d8e4eb324417e251569d2deac5ba896e.zip |
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/run/interpreter.check | 9 | ||||
-rw-r--r-- | test/files/run/interpreter.scala | 12 |
2 files changed, 21 insertions, 0 deletions
diff --git a/test/files/run/interpreter.check b/test/files/run/interpreter.check index e06fcf44ce..79181d9e3c 100644 --- a/test/files/run/interpreter.check +++ b/test/files/run/interpreter.check @@ -151,3 +151,12 @@ scala> <console>:1: error: identifier expected but integer literal found. scala> scala> scala> +scala> | | | | res2: scala.xml.Elem = <a> +<b d="dd" c="c"></b></a> + +scala> +scala> | | You typed two blank lines. Starting a new command. + +scala> +scala> +scala> diff --git a/test/files/run/interpreter.scala b/test/files/run/interpreter.scala index 34058b323a..77e3e41662 100644 --- a/test/files/run/interpreter.scala +++ b/test/files/run/interpreter.scala @@ -83,6 +83,18 @@ def x => y => z [1,2,3] +// multi-line XML +<a> +<b + c="c" + d="dd" +/></a> + +(1 + // give up early by typing two blank lines + + + + </code>.text |