aboutsummaryrefslogtreecommitdiff
path: root/src/test/scala/FormatTests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/scala/FormatTests.scala')
-rw-r--r--src/test/scala/FormatTests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/scala/FormatTests.scala b/src/test/scala/FormatTests.scala
index e29e49f..68a4765 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: JsonFormat](a: A, expectedJson: String) = {
+ def checkCoherence[A: RootJsonFormat](a: A, expectedJson: String) = {
it should "serialize to the expected JSON value" in {
val expected: JsValue = expectedJson.parseJson
assert(a.toJson == expected)