fixed test

This commit is contained in:
sanex3339
2016-06-26 08:24:34 +03:00
parent 5fd27ea1d4
commit abeb6c99ee
+1 -1
View File
@@ -51,7 +51,7 @@ describe('Utils', () => {
describe('getRandomVariableName (length: number = 6): string', () => {
it('should return a string of given length with random variable name', () => {
assert.match(Utils.getRandomVariableName(4), /^_0x(\w){4}$/);
assert.match(Utils.getRandomVariableName(6), /^_0x(\w){6}$/);
assert.match(Utils.getRandomVariableName(6), /^_0x(\w){4,6}$/);
});
});