changed filterKey to false for testing XOR invalid characters error
This commit is contained in:
parent
42f6daa154
commit
765d5ee97b
@ -982,7 +982,7 @@ smothering ampersand abreast`;
|
||||
];
|
||||
invalidKeys.forEach(invalidKey => {
|
||||
assert.throws(() => {
|
||||
chef.XOR("fe023da5", { key: invalidKey });
|
||||
chef.XOR("fe023da5", { key: invalidKey, filterKey: false });
|
||||
}, /Invalid Characters in key/);
|
||||
});
|
||||
}),
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user