Skip to content
This repository has been archived by the owner on Jul 18, 2024. It is now read-only.

Commit

Permalink
Rollback test to don't fail on Scala 2.11.12
Browse files Browse the repository at this point in the history
  • Loading branch information
plokhotnyuk committed Mar 19, 2018
1 parent 44bab94 commit 2ad3e3a
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,10 @@ class SerializerMacroSpec extends WordSpec with Matchers {
}

"don't serialize and deserialize field is annotated by transient or just is not defined in constructor" in {
case class Transient(r: String, @transient t: String = "a") {
val ignored: String = "i" + r
}

val transientSerializer = Serializer.make[Transient]

case class Required(s: String)
Expand Down Expand Up @@ -400,7 +404,3 @@ class SerializerMacroSpec extends WordSpec with Matchers {
out.getBuffer
}
}

case class Transient(r: String, @transient t: String = "a") {
val ignored: String = "i" + r
}

0 comments on commit 2ad3e3a

Please sign in to comment.