Skip to content

Commit

Permalink
fix(ext/node): use Deno.FsFile.statSync() (denoland#24234)
Browse files Browse the repository at this point in the history
  • Loading branch information
iuioiua committed Jun 17, 2024
1 parent 257f027 commit 6819c3d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions tests/unit_node/_fs/_fs_fstat_test.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,5 @@
// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.

// deno-lint-ignore-file no-deprecated-deno-api

import { fstat, fstatSync } from "node:fs";
import { fail } from "@std/assert/mod.ts";
import { assertStats, assertStatsBigInt } from "./_fs_stat_test.ts";
Expand Down Expand Up @@ -83,7 +81,7 @@ Deno.test({
//
assertStatsBigInt(
fstatSync(file.rid, { bigint: true }),
Deno.fstatSync(file.rid),
file.statSync(),
);
//main
} finally {
Expand Down

0 comments on commit 6819c3d

Please sign in to comment.