summaryrefslogtreecommitdiff
path: root/example/todo/app/test/src/ExampleTests.scala
diff options
context:
space:
mode:
Diffstat (limited to 'example/todo/app/test/src/ExampleTests.scala')
-rw-r--r--example/todo/app/test/src/ExampleTests.scala2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/todo/app/test/src/ExampleTests.scala b/example/todo/app/test/src/ExampleTests.scala
index e1be23c..0c39c87 100644
--- a/example/todo/app/test/src/ExampleTests.scala
+++ b/example/todo/app/test/src/ExampleTests.scala
@@ -1,7 +1,7 @@
package app
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 = io.undertow.Undertow.builder
.addHttpListener(8080, "localhost")
.setHandler(example.defaultHandler)