Permalink
Browse files

Typo.

  • Loading branch information...
1 parent 085e00e commit c80782e40917c6676a4d2a1d0cd23cc5f1acb674 Joni Freeman committed Oct 11, 2009
Showing with 1 addition and 1 deletion.
  1. +1 −1 lift-json/src/test/scala/net/liftweb/json/Examples.scala
@@ -85,7 +85,7 @@ object Examples extends Specification {
"Example which collects all integers and forms a new JSON" in {
val json = parse(person)
val ints = json.fold(JNothing: JValue) { (a, v) => v match {
- case x: JInt => a ++ v
+ case x: JInt => a ++ x
case _ => a
}}
compact(render(ints)) mustEqual """[35,33]"""

0 comments on commit c80782e

Please sign in to comment.