From 713ed065e7cd1013e525a8e571cef08a30de87be Mon Sep 17 00:00:00 2001 From: Asher Gomez Date: Thu, 5 Sep 2024 16:22:47 +1000 Subject: BREAKING(fs): remove `Deno.File` (#25447) Towards #22079 --- tests/unit/files_test.ts | 3 --- 1 file changed, 3 deletions(-) (limited to 'tests/unit/files_test.ts') diff --git a/tests/unit/files_test.ts b/tests/unit/files_test.ts index c9c3c0110..7b939d1ec 100644 --- a/tests/unit/files_test.ts +++ b/tests/unit/files_test.ts @@ -1,7 +1,5 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -// deno-lint-ignore-file no-deprecated-deno-api - import { assert, assertEquals, @@ -24,7 +22,6 @@ Deno.test( async function filesCopyToStdout() { const filename = "tests/testdata/assets/fixture.json"; using file = await Deno.open(filename); - assert(file instanceof Deno.File); assert(file instanceof Deno.FsFile); assert(file.rid > 2); const bytesWritten = await copy(file, Deno.stdout); -- cgit v1.2.3