aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/xyz/driver/core/JsonTest.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/xyz/driver/core/JsonTest.scala')
-rw-r--r--src/test/scala/xyz/driver/core/JsonTest.scala6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/test/scala/xyz/driver/core/JsonTest.scala b/src/test/scala/xyz/driver/core/JsonTest.scala
index 821b162..ff804a9 100644
--- a/src/test/scala/xyz/driver/core/JsonTest.scala
+++ b/src/test/scala/xyz/driver/core/JsonTest.scala
@@ -48,11 +48,7 @@ class JsonTest extends FlatSpec with Matchers {
val referenceDate = Date(1941, Month.DECEMBER, 7)
val writtenJson = json.dateFormat.write(referenceDate)
- writtenJson.prettyPrint should be("""|{
- | "year": 1941,
- | "month": 11,
- | "day": 7
- |}""".stripMargin)
+ writtenJson.prettyPrint should be("\"1941-12-07\"")
val parsedDate = json.dateFormat.read(writtenJson)
parsedDate should be(referenceDate)