summaryrefslogtreecommitdiff
path: root/example/formJsonPost
diff options
context:
space:
mode:
authorLi Haoyi <haoyi.sg@gmail.com>2019-06-15 08:40:34 +0200
committerLi Haoyi <haoyi.sg@gmail.com>2019-06-15 08:44:22 +0200
commit29fc3b6c8f74ece3b6e6cf354f0e342bbf8511ac (patch)
tree99671760586565881faf696da17c6865af07ead9 /example/formJsonPost
parent438ef5a1e4ce39cbb60c686eecc4ec43abb757dc (diff)
downloadcask-29fc3b6c8f74ece3b6e6cf354f0e342bbf8511ac.tar.gz
cask-29fc3b6c8f74ece3b6e6cf354f0e342bbf8511ac.tar.bz2
cask-29fc3b6c8f74ece3b6e6cf354f0e342bbf8511ac.zip
0.2.1: support for Scala 2.13.0. Some tests using Quill disabled until they get on 2.13 as well0.2.1
Small typos There were pair of really inconsequential typos in the documentation. .
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