summaryrefslogtreecommitdiff
path: root/test/files
diff options
context:
space:
mode:
authorJulien Richard-Foy <julien@richard-foy.fr>2012-08-10 00:34:39 +0200
committerJulien Richard-Foy <julien@richard-foy.fr>2012-08-10 09:05:58 +0200
commit0b7aaa5251622b5e1192ef7da27823f150cb1918 (patch)
tree5e29e1b2c2b1d52fcfdf835e1cf90ba2c253a497 /test/files
parentc0d5f0aaddc7bc309f84afd5d4f4b5c136c65816 (diff)
downloadscala-0b7aaa5251622b5e1192ef7da27823f150cb1918.tar.gz
scala-0b7aaa5251622b5e1192ef7da27823f150cb1918.tar.bz2
scala-0b7aaa5251622b5e1192ef7da27823f150cb1918.zip
Fix raw string interpolator: string parts which were after the first argument were still escaped
Diffstat (limited to 'test/files')
-rw-r--r--test/files/run/rawstrings.check2
-rw-r--r--test/files/run/rawstrings.scala2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/files/run/rawstrings.check b/test/files/run/rawstrings.check
index 36e63594df..2b6c40725a 100644
--- a/test/files/run/rawstrings.check
+++ b/test/files/run/rawstrings.check
@@ -1 +1 @@
-[\n\t'"$]
+[\n\t'"$\n]
diff --git a/test/files/run/rawstrings.scala b/test/files/run/rawstrings.scala
index 9df64f6625..b4d6e0c40a 100644
--- a/test/files/run/rawstrings.scala
+++ b/test/files/run/rawstrings.scala
@@ -1,3 +1,3 @@
object Test extends App {
- println(raw"[\n\t'${'"'}$$]")
+ println(raw"[\n\t'${'"'}$$\n]")
}