summaryrefslogtreecommitdiff
path: root/example/cookies
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2019-09-15 13:11:17 +0800
committerLi Haoyi <haoyi.sg@gmail.com>2019-09-15 13:19:12 +0800
commitf158811a79f702a406e3dd2b961f3b085e6c47c0 (patch)
tree190d0b7eb7d3ea4bcfb7364bd8c73fa5315c966b /example/cookies
parent0e098a93da94c251eb05d42bc7ef48394600508c (diff)
downloadcask-f158811a79f702a406e3dd2b961f3b085e6c47c0.tar.gz
cask-f158811a79f702a406e3dd2b961f3b085e6c47c0.tar.bz2
cask-f158811a79f702a406e3dd2b961f3b085e6c47c0.zip
Sketch out a standard `cask.Logger` interface and standardize dependency injection via case class implicits
Diffstat (limited to 'example/cookies')
-rw-r--r--example/cookies/app/test/src/ExampleTests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/cookies/app/test/src/ExampleTests.scala b/example/cookies/app/test/src/ExampleTests.scala
index 150f59a..5954e35 100644
--- a/example/cookies/app/test/src/ExampleTests.scala
+++ b/example/cookies/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)