diff options
author | Johannes Rudolph <johannes_rudolph@gmx.de> | 2012-05-29 16:54:26 +0200 |
---|---|---|
committer | Johannes Rudolph <johannes_rudolph@gmx.de> | 2012-05-29 16:54:26 +0200 |
commit | 1a992f3b4eea1da49d9d6f36ddcb6faeef7340ca (patch) | |
tree | e26fdc636e345e9da4d83dbb169f4c939e382596 /src/test/scala/cc | |
parent | 6ef8a2611422e12dd1933fc40a6152d84af20d20 (diff) | |
download | spray-json-1a992f3b4eea1da49d9d6f36ddcb6faeef7340ca.tar.gz spray-json-1a992f3b4eea1da49d9d6f36ddcb6faeef7340ca.tar.bz2 spray-json-1a992f3b4eea1da49d9d6f36ddcb6faeef7340ca.zip |
improve another error message
Diffstat (limited to 'src/test/scala/cc')
-rw-r--r-- | src/test/scala/cc/spray/json/JsonLensesSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/cc/spray/json/JsonLensesSpec.scala b/src/test/scala/cc/spray/json/JsonLensesSpec.scala index bdea994..ab77f78 100644 --- a/src/test/scala/cc/spray/json/JsonLensesSpec.scala +++ b/src/test/scala/cc/spray/json/JsonLensesSpec.scala @@ -77,7 +77,7 @@ class JsonLensesSpec extends Specification { """{"n": {"b": 4}}""" update ("n" / "b" ! updated[Int](1 +)) must be_json( """{"n": {"b": 5}}""") } "parent missing" in { - """{"x": {"b": 4}}""" update ("n" / "b" ! updated[Int](1 +)) must throwAn[Exception]("Missing parent value") + """{"x": {"b": 4}}""" update ("n" / "b" ! updated[Int](1 +)) must throwAn[Exception]("""Expected field 'n' in '{"x":{"b":4}}'""") } } "set element of array" in { |