From f158811a79f702a406e3dd2b961f3b085e6c47c0 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sun, 15 Sep 2019 13:11:17 +0800 Subject: Sketch out a standard `cask.Logger` interface and standardize dependency injection via case class implicits --- example/todoApi/app/test/src/ExampleTests.scala | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/todoApi') diff --git a/example/todoApi/app/test/src/ExampleTests.scala b/example/todoApi/app/test/src/ExampleTests.scala index 4e85a8e..f65f083 100644 --- a/example/todoApi/app/test/src/ExampleTests.scala +++ b/example/todoApi/app/test/src/ExampleTests.scala @@ -4,7 +4,7 @@ import io.undertow.Undertow import utest._ object ExampleTests extends TestSuite{ - def withServer[T](example: cask.main.BaseMain)(f: String => T): T = { + def withServer[T](example: cask.main.Main)(f: String => T): T = { val server = Undertow.builder .addHttpListener(8080, "localhost") .setHandler(example.defaultHandler) -- cgit v1.2.3