add more pending tests

This commit is contained in:
Sebastian McKenzie
2014-10-13 20:12:58 +11:00
parent 7bb53314a8
commit bcfd5999d6
2 changed files with 12 additions and 6 deletions

View File

@@ -138,4 +138,8 @@ suite("traverse", function () {
});
test("hasType");
test("isPattern");
test("isFunction");
});

View File

@@ -14,6 +14,12 @@ suite("util", function () {
}, /a get already exists for this property/);
});
test("invalid template", function () {
assert.throws(function () {
util.template("invalid template");
}, /unknown template/);
});
test("canCompile", function () {
assert.ok(util.canCompile("test.js"));
assert.ok(util.canCompile("/test.js"));
@@ -39,12 +45,6 @@ suite("util", function () {
assert.ok(!util.isAbsolute("test/test.js"));
});
test("invalid template", function () {
assert.throws(function () {
util.template("invalid template");
}, /unknown template/);
});
test("getIds");
test("isReferenced");
@@ -52,4 +52,6 @@ suite("util", function () {
test("removeProperties");
test("ensureBlock");
test("pushMutatorMap");
});