mirror of
https://github.com/gchq/CyberChef.git
synced 2026-01-31 04:31:15 -08:00
Add testcase
This commit is contained in:
parent
3478476e42
commit
bac64ce32f
1 changed files with 6 additions and 0 deletions
|
|
@ -20,4 +20,10 @@ TestRegister.addApiTests([
|
|||
assert.equal(Utils.parseEscapedChars("\\\\\\'"), "\\'");
|
||||
}),
|
||||
|
||||
it("Utils: should replace delete character", () => {
|
||||
assert.equal(
|
||||
Utils.printable("\x7e\x7f\x80\xa7", false, true),
|
||||
"\x7e...",
|
||||
);
|
||||
}),
|
||||
]);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue