diff --git a/test/traverse.js b/test/traverse.js index 46224d288e..112b312995 100644 --- a/test/traverse.js +++ b/test/traverse.js @@ -138,4 +138,8 @@ suite("traverse", function () { }); test("hasType"); + + test("isPattern"); + + test("isFunction"); }); diff --git a/test/util.js b/test/util.js index e00a65fdfb..03819a7b14 100644 --- a/test/util.js +++ b/test/util.js @@ -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"); });