diff --git a/js/common/test-data/apps/fanciful-comments/controller.js b/js/common/test-data/apps/fanciful-comments/controller.js index fda5471b36..471de5f5ad 100644 --- a/js/common/test-data/apps/fanciful-comments/controller.js +++ b/js/common/test-data/apps/fanciful-comments/controller.js @@ -20,11 +20,6 @@ */ controller.get("/c", function() {}); - /** A comment - * inline with controller*/ controller.get("/d", function() { - - }); - /** A comment Containing 2 * 3 = 5 */ @@ -66,4 +61,18 @@ stuff */ controller.get("/k", function() {}); + /** This + * "is" + * With quotation '' marks + */ + controller.get("/l", function() {}); + + /** valid + * comment + */ + controller.get("/m", function() { + /** this + * shall be ignored + */ + }); }()); diff --git a/js/common/tests/shell-foxx-manager-install-spec.js b/js/common/tests/shell-foxx-manager-install-spec.js index 59ce30797f..a92903485f 100644 --- a/js/common/tests/shell-foxx-manager-install-spec.js +++ b/js/common/tests/shell-foxx-manager-install-spec.js @@ -356,10 +356,14 @@ describe("Foxx Manager install", function() { }); - /* it("checking marvolous comments", function() { - var mount = "unittest/comments"; - FoxxManager.uninstall(mount, {force: true}); + var mount = "/unittest/comments"; + try { + FoxxManager.uninstall(mount, {force: true}); + } catch (e) { + throw e; + expect(e).toBeUndefined(); + } try { FoxxManager.install(fs.join(basePath, "fanciful-comments"), mount); expect(true).toBeTruthy(); @@ -367,8 +371,11 @@ describe("Foxx Manager install", function() { expect(true).toBeFalsy("Failed to install app with comments."); expect(e).toBeUndefined(); } - FoxxManager.uninstall(mount, {force: true}); + try { + FoxxManager.uninstall(mount, {force: true}); + } catch (e) { + expect(e).toBeUndefined(); + } }); - */ });