From 9b34b7ed1862c4b7bd84d52cd3417f5a1592efc4 Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Sun, 7 Apr 2024 17:46:39 +1000 Subject: FUTURE(ext/fs): remove `Deno.FsWatcher.prototype.rid` (#23234) --- tests/specs/future/runtime_api/main.js | 4 ++++ tests/specs/future/runtime_api/main.out | 1 + 2 files changed, 5 insertions(+) (limited to 'tests/specs') 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) { diff --git a/tests/specs/future/runtime_api/main.out b/tests/specs/future/runtime_api/main.out index 595ffd4a4..252e33512 100644 --- a/tests/specs/future/runtime_api/main.out +++ b/tests/specs/future/runtime_api/main.out @@ -27,4 +27,5 @@ Deno.writeAll is undefined Deno.writeAllSync is undefined Deno.write is undefined Deno.writeSync is undefined +Deno.FsWatcher.prototype.rid is undefined Deno.FsFile constructor is illegal -- cgit v1.2.3