KT-3008 Add support of module kind to Ant task. Repair Ant JS tests

This commit is contained in:
Alexey Andreev
2016-04-25 15:19:49 +03:00
parent a9ed789727
commit 713a7efcdf
9 changed files with 89 additions and 3 deletions
@@ -120,6 +120,10 @@ public class AntTaskJsTest extends AbstractAntTaskTest {
doJsAntTest("jslib-example.js");
}
public void testSimpleWithStdlibAndJsFileAsAnotherLibModuleKind() throws Exception {
doJsAntTest("amd.js", "jslib-example.js");
}
public void testSimpleWithStdlibAndTwoJsFilesAsLibraries() throws Exception {
doJsAntTest("jslib-example1.js", "jslib-example2.js");
}