diff options
Diffstat (limited to 'tests/examplefiles/Errors.scala')
| -rw-r--r-- | tests/examplefiles/Errors.scala | 23 | 
1 files changed, 23 insertions, 0 deletions
diff --git a/tests/examplefiles/Errors.scala b/tests/examplefiles/Errors.scala new file mode 100644 index 00000000..7af70280 --- /dev/null +++ b/tests/examplefiles/Errors.scala @@ -0,0 +1,23 @@ +/* This file /* which is totally legal scala */ will not be highlighted +   correcty by pygments */ + +object ⌘ { +  val `interface` = """ +A +"Multiline" +String +""" + +  val foo_+ = "foo plus" +  val foo_⌬⌬ = "double benzene" + +  // Test some interpolated strings +  val mu = s"${if (true) "a:b" else "c" {with "braces"}}" +  val mu2 = f"${if (true) "a:b" else "c" {with "braces"}}" +  val raw = raw"a raw\nstring\"with escaped quotes" + +  def main(argv: Array[String]) { +    println(⌘.interface + " " + foo_+ + " " + foo_⌬⌬ ) +  } +} +  | 
