Skip to content

Commit

Permalink
Test for #81: function called do() will not run in JVM
Browse files Browse the repository at this point in the history
  • Loading branch information
FroMage committed Oct 9, 2015
1 parent 513194e commit 10dfb4c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
Expand Up @@ -165,6 +165,14 @@ public void testQuotedModuleName() throws Exception {
assertOutput(tool, "Hello, World!");
}

@Test
public void testQuotedModuleNameKeywordFunction() throws Exception {
ToolModel<CeylonRunTool> model = pluginLoader.loadToolModel("run");
Assert.assertNotNull(model);
CeylonRunTool tool = pluginFactory.bindArguments(model, getMainTool(), options("--run", "foo.long.module::do", "foo.long.module/1.0.0"));
assertOutput(tool, "Hello, World!");
}

@Test
public void testQuotedModuleNameNoVersion() throws Exception {
ToolModel<CeylonRunTool> model = pluginLoader.loadToolModel("run");
Expand Down
@@ -1 +1 @@
c4f236d1c80722e20a820b35cf976685220548dd
99a55445aff6f21c81fda4fb2197b6380fa10f47

0 comments on commit 10dfb4c

Please sign in to comment.