Skip to content
This repository was archived by the owner on Nov 12, 2025. It is now read-only.

Commit 8965c17

Browse files
committed
Upgrade kotlin-jupyter-api to 0.12.0-142
1 parent e806079 commit 8965c17

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

‎gradle/libs.versions.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ ktor = "2.3.7"
55
kotlinx-serialization = "1.6.2"
66
jsontokotlin = "3.7.4"
77
jvm-toolchain = "17"
8-
kotlin-jupyter = "0.12.0-110"
8+
kotlin-jupyter = "0.12.0-142"
99

1010
[plugins]
1111
kotlin-jvm ={id = "org.jetbrains.kotlin.jvm", version.ref = "kotlin" }

‎json-generation/src/test/kotlin/JsonClassesGenerationTest.kt‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ class JsonClassesGenerationTest : JupyterReplTestCase(){
277277
${"\""}"".trimIndent()
278278
""".trimIndent()
279279
}
280-
exec("""val x = ${DeserializeThis::class.qualifiedName}($stringLiteral, "$generatedClassName")""")
281-
returnexec("x")
280+
execRaw("""val x = ${DeserializeThis::class.qualifiedName}($stringLiteral, "$generatedClassName")""")
281+
returnexecRaw("x")
282282
}
283283

284284
privatefunassertGeneratedCode(expected:String, actual:String){

‎ktor-client/src/test/kotlin/KtorClientIntegrationTest.kt‎

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,15 +13,15 @@ class KtorClientIntegrationTest : JupyterReplTestCase(
1313
){
1414
@Test
1515
fun`default client engine`(){
16-
val engineName =exec("http.ktorClient.engine")?.javaClass?.simpleName
16+
val engineName =execRaw("http.ktorClient.engine")?.javaClass?.simpleName
1717
assertEquals("CIOEngine", engineName)
18-
val engineName2 =exec("io.ktor.client.HttpClient().engine")?.javaClass?.simpleName
18+
val engineName2 =execRaw("io.ktor.client.HttpClient().engine")?.javaClass?.simpleName
1919
assertEquals("CIOEngine", engineName2)
2020
}
2121

2222
@Test
2323
fun`calls compilation`(){
24-
val exec =exec(
24+
val exec =execRaw(
2525
"""
2626
import io.ktor.client.request.*
2727
@@ -46,7 +46,7 @@ class KtorClientIntegrationTest : JupyterReplTestCase(
4646
fun`mock calls`(){
4747
@Language("JSON")
4848
val json ="""{"b":"b","a":{"b":"b","a":null}}"""
49-
exec(
49+
execRaw(
5050
"""
5151
%use serialization
5252
@file:DependsOn("io.ktor:ktor-client-mock-jvm:2.3.7")

0 commit comments

Comments
(0)