diff options
author | Mathias <mathias@spray.cc> | 2011-11-09 12:14:08 +0100 |
---|---|---|
committer | Mathias <mathias@spray.cc> | 2011-11-09 12:40:16 +0100 |
commit | 9168e6ee3fd5f2366e66206a97144562aff70993 (patch) | |
tree | 129a7ac6ed4dc9d1ff5d0aa9d005ad544b37aa01 /src/test/scala/cc/spray/json/CollectionFormatsSpec.scala | |
parent | 6cbaa4c1782bcb4060af9f8ef2fd72e737f7982a (diff) | |
download | spray-json-9168e6ee3fd5f2366e66206a97144562aff70993.tar.gz spray-json-9168e6ee3fd5f2366e66206a97144562aff70993.tar.bz2 spray-json-9168e6ee3fd5f2366e66206a97144562aff70993.zip |
Remove JsValue.apply method without replacement due to non-type-safety
Diffstat (limited to 'src/test/scala/cc/spray/json/CollectionFormatsSpec.scala')
-rw-r--r-- | src/test/scala/cc/spray/json/CollectionFormatsSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/cc/spray/json/CollectionFormatsSpec.scala b/src/test/scala/cc/spray/json/CollectionFormatsSpec.scala index 009d2e2..f5eafa8 100644 --- a/src/test/scala/cc/spray/json/CollectionFormatsSpec.scala +++ b/src/test/scala/cc/spray/json/CollectionFormatsSpec.scala @@ -29,7 +29,7 @@ class CollectionFormatsSpec extends Specification with DefaultJsonProtocol { "The mapFormat" should { val map = Map("a" -> 1, "b" -> 2, "c" -> 3) - val json = JsObject(JsField("a", 1), JsField("b", 2), JsField("c", 3)) + val json = JsObject(JsField("a", JsNumber(1)), JsField("b", JsNumber(2)), JsField("c", JsNumber(3))) "convert a Map[String, Long] to a JsObject" in { map.toJson mustEqual json } |