From 2ae9a65ed0b773f77b5cd8d8c134a125bbaccf5d Mon Sep 17 00:00:00 2001 From: Jon Pretty Date: Fri, 10 Nov 2017 15:21:03 +0000 Subject: Scalafmt --- tests/src/main/scala/tests.scala | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'tests') diff --git a/tests/src/main/scala/tests.scala b/tests/src/main/scala/tests.scala index 10eb465..5142861 100644 --- a/tests/src/main/scala/tests.scala +++ b/tests/src/main/scala/tests.scala @@ -55,7 +55,9 @@ object Tests extends TestApp { test("local implicit beats Magnolia") { import magnolia.examples._ - implicit val showPerson: Show[String, Person] = new Show[String, Person] { def show(p: Person) = "nobody" } + implicit val showPerson: Show[String, Person] = new Show[String, Person] { + def show(p: Person) = "nobody" + } implicitly[Show[String, Address]].show(Address("Home", Person("John Smith", 44))) }.assert(_ == "Address(line1=Home,occupant=nobody)") -- cgit v1.2.3