diff --git a/cli/tests/integration/compat_tests.rs b/cli/tests/integration/compat_tests.rs index 7138530d02..ce89cc623f 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 39a555cbf3..bd80fb3d7c 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); diff --git a/test_util/std b/test_util/std index 97dc903738..6069bfe413 160000 --- a/test_util/std +++ b/test_util/std @@ -1 +1 @@ -Subproject commit 97dc90373893b83713b05b1891a109ad48f8abc2 +Subproject commit 6069bfe4137864214daf43637069fa533f04ba82