mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-21 23:58:07 +02:00
Update the description of the test-case used in the escapeString
unit-test
The description *itself* didn't escape the control characters correctly, leading to line-breaks being inserted in the test logs.
This commit is contained in:
parent
92477333f6
commit
d8da6afa4c
1 changed files with 1 additions and 1 deletions
|
@ -319,7 +319,7 @@ describe("util", function () {
|
|||
});
|
||||
|
||||
describe("escapeString", function () {
|
||||
it("should escape (, ), \n, \r and \\", function () {
|
||||
it("should escape (, ), \\n, \\r, and \\", function () {
|
||||
expect(escapeString("((a\\a))\n(b(b\\b)\rb)")).toEqual(
|
||||
"\\(\\(a\\\\a\\)\\)\\n\\(b\\(b\\\\b\\)\\rb\\)"
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue