mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 15:06:54 -05:00
9f2e56ba96
Towards #21136 - [x] assign serializePermissions, setTimeout and setExitHandler APIs to internal namespace - [x] remove usage of assert
38 lines
998 B
Text
38 lines
998 B
Text
Check [WILDCARD]/test/exit_sanitizer.ts
|
|
running 3 tests from ./test/exit_sanitizer.ts
|
|
exit(0) ... FAILED ([WILDCARD])
|
|
exit(1) ... FAILED ([WILDCARD])
|
|
exit(2) ... FAILED ([WILDCARD])
|
|
|
|
ERRORS
|
|
|
|
exit(0) => ./test/exit_sanitizer.ts:[WILDCARD]
|
|
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: 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: Error: Test case attempted to exit with exit code: 2
|
|
Deno.exit(2);
|
|
^
|
|
at [WILDCARD]
|
|
at [WILDCARD]/test/exit_sanitizer.ts:10:8
|
|
|
|
FAILURES
|
|
|
|
exit(0) => ./test/exit_sanitizer.ts:[WILDCARD]
|
|
exit(1) => ./test/exit_sanitizer.ts:[WILDCARD]
|
|
exit(2) => ./test/exit_sanitizer.ts:[WILDCARD]
|
|
|
|
FAILED | 0 passed | 3 failed ([WILDCARD])
|
|
|
|
error: Test failed
|