minor: remove a warning in scripting tests

This commit is contained in:
Ilya Chernikov
2022-05-18 13:04:40 +02:00
committed by teamcity
parent da782fbfe8
commit 9912df0daf
@@ -121,7 +121,7 @@ class KotlinJsr223ScriptEngineIT {
try {
engine.eval("java.lang.fish")
Assert.fail("Script error expected")
} catch (e: ScriptException) {}
} catch (_: ScriptException) {}
val res1 = engine.eval("val x = 3")
Assert.assertNull(res1)