summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-05-13 17:08:02 +0200
committerGitHub <noreply@github.com>2022-05-13 17:08:02 +0200
commitb543e84b399ccfff9446d19c3b4cc55dab85c039 (patch)
tree084e3f1854ff6650cef0d6376b18045dc587da18
parenta5b50d0915a666c54e8668d6f8bc1b8f5d7e121a (diff)
chore: update test_util/std/ submodule (#14595)
-rw-r--r--cli/tests/integration/compat_tests.rs2
-rw-r--r--cli/tests/testdata/compat/globals.ts4
m---------test_util/std0
3 files changed, 1 insertions, 5 deletions
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);
diff --git a/test_util/std b/test_util/std
-Subproject 97dc90373893b83713b05b1891a109ad48f8abc
+Subproject 6069bfe4137864214daf43637069fa533f04ba8