diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-08-10 01:40:34 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-10 01:40:34 +0200 |
commit | 04a259e2c8b3fdca8371f35e923bc239e8bb9ec0 (patch) | |
tree | 536b3c134cad5dcd8345c19f6433e9e03669d9be /cli/tests/testdata/test/pass.ts | |
parent | 414274b68a80199c3fb6bfb3890b0afb79f5b7f9 (diff) |
fix(test): handle ASCII escape chars in test name (#20081)
Handles ASCCI espace chars in test and bench name making
test and bench reporting more reliable. This one is also tested
in the fixture of "node:test" module.
Diffstat (limited to 'cli/tests/testdata/test/pass.ts')
-rw-r--r-- | cli/tests/testdata/test/pass.ts | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/cli/tests/testdata/test/pass.ts b/cli/tests/testdata/test/pass.ts index f72123584..c4c0f45dc 100644 --- a/cli/tests/testdata/test/pass.ts +++ b/cli/tests/testdata/test/pass.ts @@ -12,3 +12,26 @@ Deno.test("test 8", () => { Deno.test("test 9", () => { console.error("console.error"); }); + +Deno.test("test\b", () => { + console.error("console.error"); +}); +Deno.test("test\f", () => { + console.error("console.error"); +}); + +Deno.test("test\t", () => { + console.error("console.error"); +}); + +Deno.test("test\n", () => { + console.error("console.error"); +}); + +Deno.test("test\r", () => { + console.error("console.error"); +}); + +Deno.test("test\v", () => { + console.error("console.error"); +}); |