From 9df879d956f9b1925300ada5b6752374abee9ff2 Mon Sep 17 00:00:00 2001 From: Anatoly Nikitin Date: Fri, 29 Nov 2019 17:11:47 +0300 Subject: [PATCH] Fix script isolation test --- src/test/kotlin/org/jetbrains/kotlin/jupyter/test/replTests.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/test/kotlin/org/jetbrains/kotlin/jupyter/test/replTests.kt b/src/test/kotlin/org/jetbrains/kotlin/jupyter/test/replTests.kt index 6dc50b2db..c4a1c9cbf 100644 --- a/src/test/kotlin/org/jetbrains/kotlin/jupyter/test/replTests.kt +++ b/src/test/kotlin/org/jetbrains/kotlin/jupyter/test/replTests.kt @@ -33,7 +33,7 @@ class ReplTest { fun TestScriptIsolation() { val repl = ReplForJupyter(classpath) assertFails { - repl.eval("""Thread.currentThread().contextClassLoader.loadClass("org.jetbrains.kotlin.jupyter.ReplForJupyter")""") + repl.eval("org.jetbrains.kotlin.jupyter.ReplLineMagics.use") } }