diff options
author | Konrad `ktoso` Malawski <ktoso@project13.pl> | 2017-01-24 16:48:30 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-24 16:48:30 +0100 |
commit | c71b2dbbd261e5553d664c7d1bd824cf14a74336 (patch) | |
tree | b4ee142209404fe531c23109a1413166aa84155c /src/test/scala | |
parent | c74372dac303e2569d4e55641ccb5fc1e187ccff (diff) | |
parent | 12e46b3588b6562469bd5a3c87320c044a978671 (diff) | |
download | spray-json-c71b2dbbd261e5553d664c7d1bd824cf14a74336.tar.gz spray-json-c71b2dbbd261e5553d664c7d1bd824cf14a74336.tar.bz2 spray-json-c71b2dbbd261e5553d664c7d1bd824cf14a74336.zip |
Merge pull request #220 from magnolia-k/add_xlint
Enabled Xlint scala option
Diffstat (limited to 'src/test/scala')
-rw-r--r-- | src/test/scala/spray/json/StandardFormatsSpec.scala | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/test/scala/spray/json/StandardFormatsSpec.scala b/src/test/scala/spray/json/StandardFormatsSpec.scala index 89f01ac..833f06a 100644 --- a/src/test/scala/spray/json/StandardFormatsSpec.scala +++ b/src/test/scala/spray/json/StandardFormatsSpec.scala @@ -69,7 +69,7 @@ class StandardFormatsSpec extends Specification with DefaultJsonProtocol { (42, 4.2).toJson mustEqual json } "be able to convert a JsArray to a (Int, Double)]" in { - json.convertTo[(Int, Double)] mustEqual (42, 4.2) + json.convertTo[(Int, Double)] mustEqual ((42, 4.2)) } } @@ -79,7 +79,7 @@ class StandardFormatsSpec extends Specification with DefaultJsonProtocol { (42, 4.2, 3).toJson mustEqual json } "be able to convert a JsArray to a (Int, Double, Int)]" in { - json.convertTo[(Int, Double, Int)] mustEqual (42, 4.2, 3) + json.convertTo[(Int, Double, Int)] mustEqual ((42, 4.2, 3)) } } "The tuple4Format" should { @@ -88,7 +88,7 @@ class StandardFormatsSpec extends Specification with DefaultJsonProtocol { (42, 4.2, 3, 4).toJson mustEqual json } "be able to convert a JsArray to a (Int, Double, Int, Int)]" in { - json.convertTo[(Int, Double, Int, Int)] mustEqual (42, 4.2, 3, 4) + json.convertTo[(Int, Double, Int, Int)] mustEqual ((42, 4.2, 3, 4)) } } "The tuple5Format" should { @@ -97,7 +97,7 @@ class StandardFormatsSpec extends Specification with DefaultJsonProtocol { (42, 4.2, 3, 4, 5).toJson mustEqual json } "be able to convert a JsArray to a (Int, Double, Int, Int, Int)]" in { - json.convertTo[(Int, Double, Int, Int, Int)] mustEqual (42, 4.2, 3, 4, 5) + json.convertTo[(Int, Double, Int, Int, Int)] mustEqual ((42, 4.2, 3, 4, 5)) } } "The tuple6Format" should { @@ -106,7 +106,7 @@ class StandardFormatsSpec extends Specification with DefaultJsonProtocol { (42, 4.2, 3, 4, 5, 6).toJson mustEqual json } "be able to convert a JsArray to a (Int, Double, Int, Int, Int, Int)]" in { - json.convertTo[(Int, Double, Int, Int, Int, Int)] mustEqual (42, 4.2, 3, 4, 5, 6) + json.convertTo[(Int, Double, Int, Int, Int, Int)] mustEqual ((42, 4.2, 3, 4, 5, 6)) } } "The tuple7Format" should { @@ -115,7 +115,7 @@ class StandardFormatsSpec extends Specification with DefaultJsonProtocol { (42, 4.2, 3, 4, 5, 6, 7).toJson mustEqual json } "be able to convert a JsArray to a (Int, Double, Int, Int, Int, Int, Int)]" in { - json.convertTo[(Int, Double, Int, Int, Int, Int, Int)] mustEqual (42, 4.2, 3, 4, 5, 6, 7) + json.convertTo[(Int, Double, Int, Int, Int, Int, Int)] mustEqual ((42, 4.2, 3, 4, 5, 6, 7)) } } } |