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.out | |
| 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.out')
| -rw-r--r-- | cli/tests/testdata/test/pass.out | 34 |
1 files changed, 32 insertions, 2 deletions
diff --git a/cli/tests/testdata/test/pass.out b/cli/tests/testdata/test/pass.out index f9c4f1ba4..08b9f5a52 100644 --- a/cli/tests/testdata/test/pass.out +++ b/cli/tests/testdata/test/pass.out @@ -1,5 +1,5 @@ Check [WILDCARD]/test/pass.ts -running 10 tests from ./test/pass.ts +running 16 tests from ./test/pass.ts test 0 ... ok ([WILDCARD]) test 1 ... ok ([WILDCARD]) test 2 ... ok ([WILDCARD]) @@ -18,6 +18,36 @@ test 9 ... console.error ----- output end ----- test 9 ... ok ([WILDCARD]) +test\b ... +------- output ------- +console.error +----- output end ----- +test\b ... ok ([WILDCARD]) +test\f ... +------- output ------- +console.error +----- output end ----- +test\f ... ok ([WILDCARD]) +test\t ... +------- output ------- +console.error +----- output end ----- +test\t ... ok ([WILDCARD]) +test\n ... +------- output ------- +console.error +----- output end ----- +test\n ... ok ([WILDCARD]) +test\r ... +------- output ------- +console.error +----- output end ----- +test\r ... ok ([WILDCARD]) +test\v ... +------- output ------- +console.error +----- output end ----- +test\v ... ok ([WILDCARD]) -ok | 10 passed | 0 failed ([WILDCARD]) +ok | 16 passed | 0 failed ([WILDCARD]) |
