diff options
author | Burak Emir <emir@epfl.ch> | 2005-10-10 00:44:43 +0000 |
---|---|---|
committer | Burak Emir <emir@epfl.ch> | 2005-10-10 00:44:43 +0000 |
commit | 265f05b5d7e515ff6e5a0e1b8f7d87948aaa9118 (patch) | |
tree | 28c1f30ae221126e5e5f4684deac160cff93d93b /test/files | |
parent | 269e0a057948a273675e00bf49b6074575c3b1fc (diff) | |
download | scala-265f05b5d7e515ff6e5a0e1b8f7d87948aaa9118.tar.gz scala-265f05b5d7e515ff6e5a0e1b8f7d87948aaa9118.tar.bz2 scala-265f05b5d7e515ff6e5a0e1b8f7d87948aaa9118.zip |
test of new \\ method behaviour added (attribut...
test of new \\ method behaviour added (attribute selection)
Diffstat (limited to 'test/files')
-rw-r--r-- | test/files/jvm/xmlstuff.check | 1 | ||||
-rw-r--r-- | test/files/jvm/xmlstuff.scala | 4 |
2 files changed, 4 insertions, 1 deletions
diff --git a/test/files/jvm/xmlstuff.check b/test/files/jvm/xmlstuff.check index 7e88bb5c35..a4902e1264 100644 --- a/test/files/jvm/xmlstuff.check +++ b/test/files/jvm/xmlstuff.check @@ -1,5 +1,6 @@ NodeSeq passed ok +passed ok <result> <title>Blabla</title> <remarks>Hallo Welt.</remarks> diff --git a/test/files/jvm/xmlstuff.scala b/test/files/jvm/xmlstuff.scala index dd9e876fa5..e17c1f71ff 100644 --- a/test/files/jvm/xmlstuff.scala +++ b/test/files/jvm/xmlstuff.scala @@ -21,7 +21,9 @@ object Test { }, new NodeSeq { val theSeq = List(Text("38!"),Text("58!")) } ); - +assertSameElements( + p \\ "@value", new NodeSeq { val theSeq = List(Text("3"), Text("5")) } +); val books = <bks> <book><title>Blabla</title></book> |