diff options
Diffstat (limited to 'tests')
-rw-r--r-- | tests/src/main/scala/tests.scala | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/src/main/scala/tests.scala b/tests/src/main/scala/tests.scala index 0f962d2..9153325 100644 --- a/tests/src/main/scala/tests.scala +++ b/tests/src/main/scala/tests.scala @@ -44,7 +44,7 @@ case object Blue extends Color case class MyAnnotation(order: Int) extends StaticAnnotation -case class Attributed( +@MyAnnotation(0) case class Attributed( @MyAnnotation(1) p1: String, @MyAnnotation(2) p2: Int ) @@ -369,7 +369,7 @@ object Tests extends TestApp { test("capture attributes against params") { Show.gen[Attributed].show(Attributed("xyz", 100)) - }.assert(_ == "Attributed(p1{MyAnnotation(1)}=xyz,p2{MyAnnotation(2)}=100)") + }.assert(_ == "Attributed{MyAnnotation(0)}(p1{MyAnnotation(1)}=xyz,p2{MyAnnotation(2)}=100)") } } |