From b1ce2e41676ab5bc807a705b072986d9357fece5 Mon Sep 17 00:00:00 2001 From: Matt Mastracci Date: Wed, 23 Aug 2023 17:03:05 -0600 Subject: fix(ext/web): add stream tests to detect v8slice split bug (#20253) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Bartek IwaƄczuk --- cli/tests/integration/inspector_tests.rs | 2 +- cli/tests/integration/run_tests.rs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/tests/integration') diff --git a/cli/tests/integration/inspector_tests.rs b/cli/tests/integration/inspector_tests.rs index b4b1f1678..526efbdf2 100644 --- a/cli/tests/integration/inspector_tests.rs +++ b/cli/tests/integration/inspector_tests.rs @@ -34,7 +34,7 @@ where Fut::Output: Send + 'static, { fn execute(&self, fut: Fut) { - deno_core::task::spawn(fut); + deno_core::unsync::spawn(fut); } } diff --git a/cli/tests/integration/run_tests.rs b/cli/tests/integration/run_tests.rs index 0c39c2b72..3a385f7cd 100644 --- a/cli/tests/integration/run_tests.rs +++ b/cli/tests/integration/run_tests.rs @@ -4220,7 +4220,7 @@ where Fut::Output: Send + 'static, { fn execute(&self, fut: Fut) { - deno_core::task::spawn(fut); + deno_core::unsync::spawn(fut); } } -- cgit v1.2.3