diff options
Diffstat (limited to 'src/test/scala/FormatTests.scala')
-rw-r--r-- | src/test/scala/FormatTests.scala | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/FormatTests.scala b/src/test/scala/FormatTests.scala index 68a4765..f9cae2d 100644 --- a/src/test/scala/FormatTests.scala +++ b/src/test/scala/FormatTests.scala @@ -5,7 +5,7 @@ import org.scalatest._ trait FormatTests { self: FlatSpec => - def checkCoherence[A: RootJsonFormat](a: A, expectedJson: String) = { + def checkRoundtrip[A: RootJsonFormat](a: A, expectedJson: String) = { it should "serialize to the expected JSON value" in { val expected: JsValue = expectedJson.parseJson assert(a.toJson == expected) |