File tree Expand file tree Collapse file tree 2 files changed +6
-10
lines changed
commonTest/kotlin/fr/frankois944/ktorfilecaching
jvmTest/kotlin/fr/frankois944/ktorfilecaching Expand file tree Collapse file tree 2 files changed +6
-10
lines changed Original file line number Diff line number Diff line change @@ -401,11 +401,9 @@ class ApiTest {
401401 add(
402402 Pair (
403403 " Request_param__$index " ,
404- ByteReadChannel (
405- """
406- {"ip":"127.0.0.1", "time" : ${clock.now()} , "data" : ${clock.now().epochSeconds} .${clock.now().nanosecondsOfSecond} }
407- """ .trimIndent(),
408- ),
404+ """
405+ {"ip":"127.0.0.1", "time" : ${clock.now()} , "data" : ${clock.now().epochSeconds} .${clock.now().nanosecondsOfSecond} }
406+ """ .trimIndent(),
409407 ),
410408 )
411409 }
Original file line number Diff line number Diff line change @@ -75,11 +75,9 @@ class ApiJVMTest {
7575 add(
7676 Pair (
7777 " Request_param__$index " ,
78- ByteReadChannel (
79- """
80- {"ip":"127.0.0.1", "time" : ${clock.now()} , "data" : ${clock.now().epochSeconds} .${clock.now().nanosecondsOfSecond} }
81- """ .trimIndent(),
82- ),
78+ """
79+ {"ip":"127.0.0.1", "time" : ${clock.now()} , "data" : ${clock.now().epochSeconds} .${clock.now().nanosecondsOfSecond} }
80+ """ .trimIndent(),
8381 ),
8482 )
8583 }
You can’t perform that action at this time.
0 commit comments