changed filterKey to false for testing XOR invalid characters error

This commit is contained in:
Jonas 2025-04-30 22:11:55 -04:00
parent 42f6daa154
commit 765d5ee97b

View file

@ -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/);
});
}),