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:
Jonas Jenwald 2020-10-27 11:24:25 +01:00
parent 92477333f6
commit d8da6afa4c

View File

@ -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\\)"
);