summaryrefslogtreecommitdiff
path: root/test/files/run/t8015-ffc.scala
diff options
context:
space:
mode:
Diffstat (limited to 'test/files/run/t8015-ffc.scala')
-rw-r--r--test/files/run/t8015-ffc.scala7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/files/run/t8015-ffc.scala b/test/files/run/t8015-ffc.scala
new file mode 100644
index 0000000000..fe6781be42
--- /dev/null
+++ b/test/files/run/t8015-ffc.scala
@@ -0,0 +1,7 @@
+
+object Test extends App {
+ val ms = """This is a long multiline string
+ with \u000d\u000a CRLF embedded."""
+ assert(ms.lines.size == 3, s"lines.size ${ms.lines.size}")
+ assert(ms contains "\r\n CRLF", "no CRLF")
+}