From 6c5905dbc354ae701f06c734608af834a0ba844c Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Sat, 20 Jul 2024 18:05:35 -0700 Subject: fix: CFunctionInfo and CTypeInfo leaks (#24634) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Trying out the deno_core patch Ref https://github.com/denoland/deno_core/pull/832 Closes https://github.com/denoland/deno/issues/24575 --------- Co-authored-by: Bartek IwaƄczuk --- tests/integration/compile_tests.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'tests') diff --git a/tests/integration/compile_tests.rs b/tests/integration/compile_tests.rs index c902adfb2..17054637e 100644 --- a/tests/integration/compile_tests.rs +++ b/tests/integration/compile_tests.rs @@ -107,7 +107,6 @@ fn standalone_error() { // On Windows, we cannot assert the file path (because '\'). // Instead we just check for relevant output. assert_contains!(stderr, "error: Uncaught (in promise) Error: boom!"); - assert_contains!(stderr, "throw new Error(\"boom!\");"); assert_contains!(stderr, "\n at boom (file://"); assert_contains!(stderr, "standalone_error.ts:2:9"); assert_contains!(stderr, "at foo (file://"); @@ -147,7 +146,6 @@ fn standalone_error_module_with_imports() { // On Windows, we cannot assert the file path (because '\'). // Instead we just check for relevant output. assert_contains!(stderr, "error: Uncaught (in promise) Error: boom!"); - assert_contains!(stderr, "throw new Error(\"boom!\");"); assert_contains!(stderr, "\n at file://"); assert_contains!(stderr, "standalone_error_module_with_imports_2.ts:2:7"); output.assert_exit_code(1); -- cgit v1.2.3