diff options
author | buraq <buraq@epfl.ch> | 2004-07-20 10:34:48 +0000 |
---|---|---|
committer | buraq <buraq@epfl.ch> | 2004-07-20 10:34:48 +0000 |
commit | 8cfefad21f54d8edece6980673f94acc03d9c9d0 (patch) | |
tree | c00566120bcb36c2014b8317e2d790eedba045af /test | |
parent | 9ed892ea8fb7c169e4bf41ffe38b612eb6b3f8a0 (diff) | |
download | scala-8cfefad21f54d8edece6980673f94acc03d9c9d0.tar.gz scala-8cfefad21f54d8edece6980673f94acc03d9c9d0.tar.bz2 scala-8cfefad21f54d8edece6980673f94acc03d9c9d0.zip |
parsing into lib continues
Diffstat (limited to 'test')
-rw-r--r-- | test/files/jvm/xmlLiterals.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/test/files/jvm/xmlLiterals.scala b/test/files/jvm/xmlLiterals.scala index d68a61ab62..6df8082c0c 100644 --- a/test/files/jvm/xmlLiterals.scala +++ b/test/files/jvm/xmlLiterals.scala @@ -144,9 +144,9 @@ object Test { val rows3 = <tr> a <!-- an XML comment --> b <?pinotext?> c <?pi text?> d </tr>; // these are not equal as comments are valid XML Info items. - assertEquals( rows2, Elem("","tr",e,Comment(" an XML comment "),ProcInstr("pinotext",None),ProcInstr("pi",Some("text")))); + assertEquals( rows2, Elem("","tr",e,Comment(" an XML comment "),ProcInstr("pinotext",""),ProcInstr("pi","text"))); - assertEquals( rows3, Elem("","tr",e,Text("a"),Comment(" an XML comment "),Text("b"),ProcInstr("pinotext",None),Text("c"),ProcInstr("pi",Some("text")),Text("d"))); + assertEquals( rows3, Elem("","tr",e,Text("a"),Comment(" an XML comment "),Text("b"),ProcInstr("pinotext",""),Text("c"),ProcInstr("pi","text"),Text("d"))); } |