summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/test/pass.ts
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-08-10 01:40:34 +0200
committerGitHub <noreply@github.com>2023-08-10 01:40:34 +0200
commit04a259e2c8b3fdca8371f35e923bc239e8bb9ec0 (patch)
tree536b3c134cad5dcd8345c19f6433e9e03669d9be /cli/tests/testdata/test/pass.ts
parent414274b68a80199c3fb6bfb3890b0afb79f5b7f9 (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.ts23
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");
+});