From b543e84b399ccfff9446d19c3b4cc55dab85c039 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 13 May 2022 17:08:02 +0200 Subject: chore: update test_util/std/ submodule (#14595) --- cli/tests/integration/compat_tests.rs | 2 +- cli/tests/testdata/compat/globals.ts | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) (limited to 'cli/tests') diff --git a/cli/tests/integration/compat_tests.rs b/cli/tests/integration/compat_tests.rs index 7138530d0..ce89cc623 100644 --- a/cli/tests/integration/compat_tests.rs +++ b/cli/tests/integration/compat_tests.rs @@ -123,7 +123,7 @@ fn globals_in_repl() { let (out, _err) = util::run_and_collect_output_with_args( true, vec!["repl", "--compat", "--unstable", "--no-check", "--quiet"], - Some(vec!["global == window"]), + Some(vec!["global.window == window"]), Some(vec![("DENO_NODE_COMPAT_URL".to_string(), std_file_url())]), false, ); diff --git a/cli/tests/testdata/compat/globals.ts b/cli/tests/testdata/compat/globals.ts index 39a555cbf..bd80fb3d7 100644 --- a/cli/tests/testdata/compat/globals.ts +++ b/cli/tests/testdata/compat/globals.ts @@ -1,7 +1,3 @@ -if (global != window) { - throw new Error("global is not equal to window"); -} - console.log(process); console.log(Buffer); console.log(setImmediate); -- cgit v1.2.3