diff options
author | Konrad `ktoso` Malawski <ktoso@project13.pl> | 2017-01-22 17:27:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-22 17:27:42 +0100 |
commit | c74372dac303e2569d4e55641ccb5fc1e187ccff (patch) | |
tree | 4907287512185e6b453eeca688dc7cb92f01bdce /src/test/scala | |
parent | 765c83248e0bbe867ddc9d479b4fe79493569a54 (diff) | |
parent | e53b59cced40c6e19b160e9616f33105449746bf (diff) | |
download | spray-json-c74372dac303e2569d4e55641ccb5fc1e187ccff.tar.gz spray-json-c74372dac303e2569d4e55641ccb5fc1e187ccff.tar.bz2 spray-json-c74372dac303e2569d4e55641ccb5fc1e187ccff.zip |
Merge pull request #218 from magnolia-k/fix_warning_about_unit
Fixed warning about unit.
Diffstat (limited to 'src/test/scala')
-rw-r--r-- | src/test/scala/spray/json/BasicFormatsSpec.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/spray/json/BasicFormatsSpec.scala b/src/test/scala/spray/json/BasicFormatsSpec.scala index 00da813..8417df2 100644 --- a/src/test/scala/spray/json/BasicFormatsSpec.scala +++ b/src/test/scala/spray/json/BasicFormatsSpec.scala @@ -127,7 +127,7 @@ class BasicFormatsSpec extends Specification with DefaultJsonProtocol { ().toJson mustEqual JsNumber(1) } "convert a JsNumber to Unit" in { - JsNumber(1).convertTo[Unit] mustEqual () + JsNumber(1).convertTo[Unit] mustEqual (()) } } |