diff options
Diffstat (limited to 'src/test/scala/spray/json/ReadmeSpec.scala')
-rw-r--r-- | src/test/scala/spray/json/ReadmeSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/spray/json/ReadmeSpec.scala b/src/test/scala/spray/json/ReadmeSpec.scala index 89d3dbc..51a1ec5 100644 --- a/src/test/scala/spray/json/ReadmeSpec.scala +++ b/src/test/scala/spray/json/ReadmeSpec.scala @@ -25,7 +25,7 @@ class ReadmeSpec extends Specification { import DefaultJsonProtocol._ val source = """{ "some": "JSON source" }""" - val jsonAst = source.asJson + val jsonAst = source.parseJson jsonAst mustEqual JsObject("some" -> JsString("JSON source")) val json2 = jsonAst.prettyPrint |