Permalink
Browse files

json: 2.10: Fix to json test

  • Loading branch information...
1 parent 5beac0a commit e17cf9943422ceb26f3ba47f4b16c2c409f9671a @nafg nafg committed Aug 31, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/json/src/test/scala/net/liftweb/json/XmlBugs.scala
@@ -55,7 +55,7 @@ object XmlBugs extends Specification {
val expected = """{"root":{"n":[{"x":"abc","id":"10"},{"x":"bcd","id":"11"}]}}"""
val expected210 = """{"root":{"n":[{"id":"10","x":"abc"},{"id":"11","x":"bcd"}]}}"""
val json = Printer.compact(render(toJson(xml)))
- (json mustEqual expected) or (json mustEqual expected210)
+ (json == expected || json == expected210) mustEqual true
}
"XML with empty node is converted correctly to JSON" in {

0 comments on commit e17cf99

Please sign in to comment.