[Scripting] Fix Bintray-dependent test
This commit is contained in:
+2
-1
@@ -69,7 +69,8 @@ class MainKtsTest {
|
|||||||
|
|
||||||
val resultValue = resOk.valueOrThrow().returnValue
|
val resultValue = resOk.valueOrThrow().returnValue
|
||||||
assertTrue(resultValue is ResultValue.Value) { "Result value should be of type Value" }
|
assertTrue(resultValue is ResultValue.Value) { "Result value should be of type Value" }
|
||||||
assertEquals("John Smith", (resultValue as ResultValue.Value).value)
|
val value = (resultValue as ResultValue.Value).value!!
|
||||||
|
assertEquals("MimeTypedResult", value::class.simpleName)
|
||||||
}
|
}
|
||||||
|
|
||||||
// @Test
|
// @Test
|
||||||
|
|||||||
@@ -1,2 +0,0 @@
|
|||||||
name,surname
|
|
||||||
John,Smith
|
|
||||||
|
+5
-7
@@ -1,9 +1,7 @@
|
|||||||
@file:Repository("https://dl.bintray.com/holgerbrandl/mpicbg-scicomp")
|
// kotlin-jupyter-lib has runtime dependency on kotlin-jupyter-api, so
|
||||||
//Krangl depends on Klaxon transitively, that's why this repo is needed here
|
// we should be able to import symbols from there
|
||||||
@file:Repository("https://dl.bintray.com/cbeust/maven")
|
@file:DependsOn("org.jetbrains.kotlinx:kotlin-jupyter-lib:0.8.3.320", options = arrayOf("scope=compile,runtime"))
|
||||||
@file:DependsOn("de.mpicbg.scicomp:krangl:0.13", options = arrayOf("scope=compile,runtime"))
|
|
||||||
|
|
||||||
import krangl.*
|
import org.jetbrains.kotlinx.jupyter.api.HTML
|
||||||
|
|
||||||
val df = DataFrame.readCSV("libraries/tools/kotlin-main-kts-test/testData/resolve-with-runtime.csv")
|
HTML("<p>Paragraph</p>")
|
||||||
df.head().rows.first().let { "${it["name"]} ${it["surname"]}" }
|
|
||||||
|
|||||||
Reference in New Issue
Block a user