test description update

This commit is contained in:
sanex3339
2016-07-04 08:38:22 +03:00
parent 1bb5f884c1
commit c6b943dfe5
@@ -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+$/);
});
});