summaryrefslogtreecommitdiff
path: root/example/formJsonPost
diff options
context:
space:
mode:
Diffstat (limited to 'example/formJsonPost')
-rw-r--r--example/formJsonPost/app/test/src/ExampleTests.scala2
-rw-r--r--example/formJsonPost/build.sc6
2 files changed, 4 insertions, 4 deletions
diff --git a/example/formJsonPost/app/test/src/ExampleTests.scala b/example/formJsonPost/app/test/src/ExampleTests.scala
index 137a978..148ebfd 100644
--- a/example/formJsonPost/app/test/src/ExampleTests.scala
+++ b/example/formJsonPost/app/test/src/ExampleTests.scala
@@ -19,7 +19,7 @@ object ExampleTests extends TestSuite{
val tests = Tests{
'FormJsonPost - test(FormJsonPost){ host =>
requests.post(s"$host/json", data = """{"value1": true, "value2": [3]}""").text() ==>
- "OK true Vector(3)"
+ "OK true List(3)"
requests.post(
s"$host/form",
diff --git a/example/formJsonPost/build.sc b/example/formJsonPost/build.sc
index 2816643..699b94f 100644
--- a/example/formJsonPost/build.sc
+++ b/example/formJsonPost/build.sc
@@ -2,7 +2,7 @@ import mill._, scalalib._
trait AppModule extends ScalaModule{
- def scalaVersion = "2.12.6"
+ def scalaVersion = "2.13.0"
def ivyDeps = Agg(
ivy"com.lihaoyi::cask:0.1.9",
)
@@ -11,8 +11,8 @@ trait AppModule extends ScalaModule{
def testFrameworks = Seq("utest.runner.Framework")
def ivyDeps = Agg(
- ivy"com.lihaoyi::utest::0.6.3",
- ivy"com.lihaoyi::requests::0.1.5",
+ ivy"com.lihaoyi::utest::0.6.9",
+ ivy"com.lihaoyi::requests::0.2.0",
)
}
} \ No newline at end of file