summaryrefslogtreecommitdiff
path: root/tests/specs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs')
-rw-r--r--tests/specs/future/unstable_flags/main.js2
-rw-r--r--tests/specs/future/unstable_flags/main.out2
2 files changed, 4 insertions, 0 deletions
diff --git a/tests/specs/future/unstable_flags/main.js b/tests/specs/future/unstable_flags/main.js
index 0d86d0d09..51af892f6 100644
--- a/tests/specs/future/unstable_flags/main.js
+++ b/tests/specs/future/unstable_flags/main.js
@@ -1,3 +1,5 @@
+console.log(typeof await navigator.gpu.requestAdapter() === "object"); // Throws without `--unstable-gpu`
+console.log(typeof Deno.dlopen === "function"); // Undefined without `--unstable-ffi`
console.log(
// Undefined without `--unstable-fs`
Deno.build.os === "windows" ? true : typeof Deno.umask === "function",
diff --git a/tests/specs/future/unstable_flags/main.out b/tests/specs/future/unstable_flags/main.out
index 27ba77dda..b979d62f4 100644
--- a/tests/specs/future/unstable_flags/main.out
+++ b/tests/specs/future/unstable_flags/main.out
@@ -1 +1,3 @@
true
+true
+true