Permalink
Browse files

fix expected ParsingException. And voila! All tests pass!

  • Loading branch information...
1 parent 0f2700e commit a4e6d099fe7c3bd4c42de1f598eb6202cdec0186 @imikushin imikushin committed May 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/test/scala/com/codahale/jerkson/tests/EdgeCaseSpec.scala
@@ -63,7 +63,7 @@ class EdgeCaseSpec extends Spec {
val input = new ByteArrayInputStream(Array.empty)
evaluating {
parse[CaseClass](input)
- }.must(throwA[ParsingException]("JSON document ended unexpectedly."))
+ }.must(throwA[ParsingException]("""No content to map due to end\-of\-input""".r))
}
}
}

0 comments on commit a4e6d09

Please sign in to comment.