Refactored test code a lot. Introduced KotlinLibTest.
This commit is contained in:
@@ -45,6 +45,7 @@ public class KotlinLibTest extends TranslationTest {
|
|||||||
public void kotlinJsLibRunsWithRhino() throws Exception {
|
public void kotlinJsLibRunsWithRhino() throws Exception {
|
||||||
Context context = Context.enter();
|
Context context = Context.enter();
|
||||||
Scriptable scope = context.initStandardObjects();
|
Scriptable scope = context.initStandardObjects();
|
||||||
|
//
|
||||||
runFileWithRhino(kotlinLibraryPath(), context, scope);
|
runFileWithRhino(kotlinLibraryPath(), context, scope);
|
||||||
Context.exit();
|
Context.exit();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user