summaryrefslogtreecommitdiff
path: root/src/test/scala/cc/spray/json/ReadmeSpec.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/cc/spray/json/ReadmeSpec.scala')
-rw-r--r--src/test/scala/cc/spray/json/ReadmeSpec.scala2
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