diff options
author | Mathias <mathias@spray.cc> | 2011-12-06 13:22:37 +0100 |
---|---|---|
committer | Mathias <mathias@spray.cc> | 2011-12-06 13:23:02 +0100 |
commit | 94b1fba92d40568c642a0b86c719c4bcc0865b54 (patch) | |
tree | 0c9a278e636426f99435b7e4f155cc2fe03495ff /src/test/scala/cc/spray/json/ReadmeSpec.scala | |
parent | 701be7bcf0a295c3de272a11e7cfb477db7ed026 (diff) | |
download | spray-json-94b1fba92d40568c642a0b86c719c4bcc0865b54.tar.gz spray-json-94b1fba92d40568c642a0b86c719c4bcc0865b54.tar.bz2 spray-json-94b1fba92d40568c642a0b86c719c4bcc0865b54.zip |
Remove JsField, turn JsObject(List[JsField]) into JsObject(Map[String, JsValue])
Diffstat (limited to 'src/test/scala/cc/spray/json/ReadmeSpec.scala')
-rw-r--r-- | src/test/scala/cc/spray/json/ReadmeSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/cc/spray/json/ReadmeSpec.scala b/src/test/scala/cc/spray/json/ReadmeSpec.scala index b1c6674..ace94b1 100644 --- a/src/test/scala/cc/spray/json/ReadmeSpec.scala +++ b/src/test/scala/cc/spray/json/ReadmeSpec.scala @@ -10,7 +10,7 @@ class ReadmeSpec extends Specification { val json = """{ "some": "JSON source" }""" val jsonAst = JsonParser(json) - jsonAst mustEqual JsObject(JsField("some", JsString("JSON source"))) + jsonAst mustEqual JsObject("some" -> JsString("JSON source")) val json2 = PrettyPrinter(jsonAst) json2 mustEqual |