summaryrefslogtreecommitdiff
path: root/test/files/jvm/xml04embed.scala
blob: 249e8ceb062f9497e7833c45d316f4a7489ee65e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
import scala.testing.SUnit._

object Test extends AnyRef with Assert {
  def main(args: Array[String]) {
    val ya = <x>{{</x>
    assertEquals(ya.text, "{")

    val ua = <x>}}</x>
    assertEquals(ua.text, "}")

    val za = <x>{{}}{{}}{{}}</x>
    assertEquals(za.text, "{}{}{}")

  }
}