diff options
author | Mathias <mathias@spray.io> | 2013-05-13 13:10:49 +0200 |
---|---|---|
committer | Mathias <mathias@spray.io> | 2013-05-13 13:32:19 +0200 |
commit | 59298d1497dc7d4c412279af3f8809289e72cac6 (patch) | |
tree | bd6ec71ad9816d99efced412860bedf5674ff520 /src | |
parent | ad075808107758a99be09ce2aaac72539cb85875 (diff) | |
download | spray-json-59298d1497dc7d4c412279af3f8809289e72cac6.tar.gz spray-json-59298d1497dc7d4c412279af3f8809289e72cac6.tar.bz2 spray-json-59298d1497dc7d4c412279af3f8809289e72cac6.zip |
Add small test improvement
Diffstat (limited to 'src')
-rw-r--r-- | src/test/scala/spray/json/BasicFormatsSpec.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/scala/spray/json/BasicFormatsSpec.scala b/src/test/scala/spray/json/BasicFormatsSpec.scala index 82fb127..629c223 100644 --- a/src/test/scala/spray/json/BasicFormatsSpec.scala +++ b/src/test/scala/spray/json/BasicFormatsSpec.scala @@ -31,10 +31,10 @@ class BasicFormatsSpec extends Specification with DefaultJsonProtocol { "The LongJsonFormat" should { "convert a Long to a JsNumber" in { - 42L.toJson mustEqual JsNumber(42L) + 7563661897011259335L.toJson mustEqual JsNumber(7563661897011259335L) } "convert a JsNumber to a Long" in { - JsNumber(42L).convertTo[Long] mustEqual 42L + JsNumber(7563661897011259335L).convertTo[Long] mustEqual 7563661897011259335L } } |