From f7f7c4e6654e1e961e4d3c6f4eb216ab3e0cad21 Mon Sep 17 00:00:00 2001 From: Mathias Date: Fri, 5 Jan 2018 00:05:34 +0100 Subject: Fix regression introduced by move to `patchedCompanionRef` --- tests/src/main/scala/tests.scala | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tests') diff --git a/tests/src/main/scala/tests.scala b/tests/src/main/scala/tests.scala index 5b47627..6c2ab9a 100644 --- a/tests/src/main/scala/tests.scala +++ b/tests/src/main/scala/tests.scala @@ -318,6 +318,10 @@ object Tests extends TestApp { test("show a Portfolio of Companies") { Show.gen[Portfolio].show(Portfolio(Company("Alice Inc"), Company("Bob & Co"))) }.assert(_ == "Portfolio(companies=[Company(name=Alice Inc),Company(name=Bob & Co)])") + + test("show a List[Int]") { + Show.gen[List[Int]].show(List(1, 2, 3)) + }.assert(_ == "::(head=1,tl$access$1=::(head=2,tl$access$1=::(head=3,tl$access$1=Nil())))") test("sealed trait typeName should be complete and unchanged") { TypeNameInfo.gen[Color].name -- cgit v1.2.3