From 9f2e56ba96b847d6275ac26656d9d522fca252f7 Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Fri, 10 Nov 2023 06:34:41 -0800 Subject: 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 --- cli/tests/testdata/test/exit_sanitizer.out | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cli/tests/testdata/test') 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] -- cgit v1.2.3