浏览代码

test description update

sanex3339 8 年之前
父节点
当前提交
c6b943dfe5
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      test/node-obfuscators/FunctionDeclarationObfuscator.spec.ts

+ 2 - 2
test/node-obfuscators/FunctionDeclarationObfuscator.spec.ts

@@ -74,11 +74,11 @@ describe('FunctionDeclarationObfuscator', () => {
                 );
             });
 
-            it('should obfuscate function name inside `functionDeclaration` parent scope', () => {
+            it('should obfuscate function name', () => {
                 assert.match(functionDeclarationNode.id.name, /^_0x\w+$/);
             });
 
-            it('should obfuscate function name in `functionDeclaration` calls inside `functionDeclaration` parent scope', () => {
+            it('should obfuscate function name inside `functionDeclaration` parent scope', () => {
                 assert.match((<any>expressionStatementNode).expression.callee.name, /^_0x\w+$/);
             });
         });