diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2023-11-10 06:34:41 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-11-10 14:34:41 +0000 |
| commit | 9f2e56ba96b847d6275ac26656d9d522fca252f7 (patch) | |
| tree | 1c953d4c6df97cd33615c0ab80a02e65ca8ef4d9 /cli/tests/testdata/test | |
| parent | 8ecb649182966bd77a7ddac9797496291cbf9521 (diff) | |
chore: use internal namespace in 40_testing.js (#21141)
Towards #21136
- [x] assign serializePermissions, setTimeout and setExitHandler APIs to
internal namespace
- [x] remove usage of assert
Diffstat (limited to 'cli/tests/testdata/test')
| -rw-r--r-- | cli/tests/testdata/test/exit_sanitizer.out | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/cli/tests/testdata/test/exit_sanitizer.out b/cli/tests/testdata/test/exit_sanitizer.out index 4910501fa..684001475 100644 --- a/cli/tests/testdata/test/exit_sanitizer.out +++ b/cli/tests/testdata/test/exit_sanitizer.out @@ -7,21 +7,21 @@ exit(2) ... FAILED ([WILDCARD]) ERRORS exit(0) => ./test/exit_sanitizer.ts:[WILDCARD] -error: AssertionError: Test case attempted to exit with exit code: 0 +error: Error: Test case attempted to exit with exit code: 0 Deno.exit(0); ^ at [WILDCARD] at [WILDCARD]/test/exit_sanitizer.ts:2:8 exit(1) => ./test/exit_sanitizer.ts:[WILDCARD] -error: AssertionError: Test case attempted to exit with exit code: 1 +error: Error: Test case attempted to exit with exit code: 1 Deno.exit(1); ^ at [WILDCARD] at [WILDCARD]/test/exit_sanitizer.ts:6:8 exit(2) => ./test/exit_sanitizer.ts:[WILDCARD] -error: AssertionError: Test case attempted to exit with exit code: 2 +error: Error: Test case attempted to exit with exit code: 2 Deno.exit(2); ^ at [WILDCARD] |
