diff options
| author | Nayeem Rahman <nayeemrmn99@gmail.com> | 2022-05-05 00:15:54 +0100 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-05-05 01:15:54 +0200 |
| commit | ca134d25e1c281384a1a131c19d0574e7c8d30e8 (patch) | |
| tree | 90ffc4b39fc131f50eebab74c53c5b2b64eba32f /cli/tests/testdata/test/exit_sanitizer.out | |
| parent | 6a21fe745acf44fb32c294a34314abf58cc43c30 (diff) | |
feat(test): Show Deno.test() call locations for failures (#14484)
Diffstat (limited to 'cli/tests/testdata/test/exit_sanitizer.out')
| -rw-r--r-- | cli/tests/testdata/test/exit_sanitizer.out | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/cli/tests/testdata/test/exit_sanitizer.out b/cli/tests/testdata/test/exit_sanitizer.out index 5468af1df..4e117b7b6 100644 --- a/cli/tests/testdata/test/exit_sanitizer.out +++ b/cli/tests/testdata/test/exit_sanitizer.out @@ -6,22 +6,22 @@ exit(2) ... FAILED ([WILDCARD]) failures: -./test/exit_sanitizer.ts > exit(0) -AssertionError: Test case attempted to exit with exit code: 0 +exit(0) => ./test/exit_sanitizer.ts:[WILDCARD] +error: AssertionError: Test case attempted to exit with exit code: 0 Deno.exit(0); ^ at [WILDCARD] at [WILDCARD]/test/exit_sanitizer.ts:2:8 -./test/exit_sanitizer.ts > exit(1) -AssertionError: Test case attempted to exit with exit code: 1 +exit(1) => ./test/exit_sanitizer.ts:[WILDCARD] +error: AssertionError: Test case attempted to exit with exit code: 1 Deno.exit(1); ^ at [WILDCARD] at [WILDCARD]/test/exit_sanitizer.ts:6:8 -./test/exit_sanitizer.ts > exit(2) -AssertionError: Test case attempted to exit with exit code: 2 +exit(2) => ./test/exit_sanitizer.ts:[WILDCARD] +error: AssertionError: Test case attempted to exit with exit code: 2 Deno.exit(2); ^ at [WILDCARD] @@ -29,10 +29,9 @@ AssertionError: Test case attempted to exit with exit code: 2 failures: - ./test/exit_sanitizer.ts - exit(0) - exit(1) - exit(2) +exit(0) => ./test/exit_sanitizer.ts:[WILDCARD] +exit(1) => ./test/exit_sanitizer.ts:[WILDCARD] +exit(2) => ./test/exit_sanitizer.ts:[WILDCARD] test result: FAILED. 0 passed; 3 failed; 0 ignored; 0 measured; 0 filtered out ([WILDCARD]) |
