summaryrefslogtreecommitdiff
path: root/tests/specs/future/runtime_api/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'tests/specs/future/runtime_api/main.js')
-rw-r--r--tests/specs/future/runtime_api/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/specs/future/runtime_api/main.js b/tests/specs/future/runtime_api/main.js
index 9d3b3ed6c..db8e5fba8 100644
--- a/tests/specs/future/runtime_api/main.js
+++ b/tests/specs/future/runtime_api/main.js
@@ -31,6 +31,10 @@ console.log("Deno.writeAllSync is", Deno.writeAllSync);
console.log("Deno.write is", Deno.write);
console.log("Deno.writeSync is", Deno.writeSync);
+const watcher = Deno.watchFs(".");
+console.log("Deno.FsWatcher.prototype.rid is", watcher.rid);
+watcher.close();
+
try {
new Deno.FsFile(0);
} catch (error) {