Added functional tests for dictionary names generator: fixed regExp

This commit is contained in:
sanex3339
2019-12-31 14:29:19 +03:00
parent 9c186a4e34
commit 19ebf787f7
@@ -570,7 +570,7 @@ describe('JavaScriptObfuscator', () => {
});
describe('dictionary identifier names generator', () => {
const regExp: RegExp = /var *[ab] *= *0x1; *var *[ab] *= *0x2; *var *A *= *0x3;/;
const regExp: RegExp = /var *[ab] *= *0x1; *var *[ab] *= *0x2; *var *[A|B] *= *0x3;/;
let obfuscatedCode: string;