Add testcase

This commit is contained in:
C85297 2026-01-29 14:40:48 +00:00
parent 3478476e42
commit bac64ce32f
No known key found for this signature in database

View file

@ -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...",
);
}),
]);