File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
dataframe-openapi/src/test/kotlin Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ import org.jetbrains.kotlinx.jupyter.api.Code
12
12
import org.jetbrains.kotlinx.jupyter.testkit.JupyterReplTestCase
13
13
import org.junit.Test
14
14
import java.io.File
15
+ import java.io.File.separatorChar
15
16
import java.io.InputStream
16
17
17
18
class OpenApiTests : JupyterReplTestCase () {
@@ -1066,7 +1067,12 @@ class OpenApiTests : JupyterReplTestCase() {
1066
1067
@Language(" kts" )
1067
1068
val _1 = execRaw(
1068
1069
"""
1069
- val ApiGuru = importDataSchema(File("${apiGuruYaml.absolutePath} "))
1070
+ val ApiGuru = importDataSchema(File("${
1071
+ apiGuruYaml.absolutePath.let {
1072
+ if (separatorChar == ' \\ ' ) it.replace(" \\ " , " \\\\ " )
1073
+ else it
1074
+ }
1075
+ } "))
1070
1076
""" .trimIndent()
1071
1077
)
1072
1078
You can’t perform that action at this time.
0 commit comments