浏览代码

fixed specs descriptions

sanex3339 8 年之前
父节点
当前提交
daef273cf2
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      test/unit-tests/NodeUtils.spec.ts

+ 3 - 3
test/unit-tests/NodeUtils.spec.ts

@@ -58,7 +58,7 @@ describe('NodeUtils', () => {
             assert.deepEqual(blockStatementNode, expectedBlockStatementNode);
         });
 
-        it('should does not change `BlockStatement` node body if given node is not a valid AbstractCustomNode', () => {
+        it('should does not change `BlockStatement` node body if given node is not a valid Node', () => {
             assert.doesNotChange(
                 () => NodeUtils.appendNode(blockStatementNode.body, <INode>{}),
                 blockStatementNode,
@@ -227,7 +227,7 @@ describe('NodeUtils', () => {
             assert.deepEqual(blockStatementNode, expectedBlockStatementNode);
         });
 
-        it('should does not change `BlockStatement` node body if given node is not a valid AbstractCustomNode', () => {
+        it('should does not change `BlockStatement` node body if given node is not a valid Node', () => {
             assert.doesNotChange(
                 () => NodeUtils.insertNodeAtIndex(blockStatementNode.body, <INode>{}, 1),
                 blockStatementNode,
@@ -310,7 +310,7 @@ describe('NodeUtils', () => {
             assert.deepEqual(blockStatementNode, expectedBlockStatementNode);
         });
 
-        it('should does not change `BlockStatement` node body if given node is not a valid AbstractCustomNode', () => {
+        it('should does not change `BlockStatement` node body if given node is not a valid Node', () => {
             assert.doesNotChange(
                 () => NodeUtils.prependNode(blockStatementNode.body, <INode>{}),
                 blockStatementNode,