summaryrefslogtreecommitdiff
path: root/tests/unit
diff options
context:
space:
mode:
authorAsher Gomez <ashersaupingomez@gmail.com>2024-03-21 04:39:25 +1100
committerGitHub <noreply@github.com>2024-03-20 10:39:25 -0700
commit9593cf2852d83d0629bc97428ac83a962cb2eb09 (patch)
treec09713023787e20f40872f0f585f15c11e70cf22 /tests/unit
parentd66154d42a8e0f044ef8cab7947c5a4909782184 (diff)
chore(ext/io): remove use of deprecated `Deno.writeSync()` (#22872)
Diffstat (limited to 'tests/unit')
-rw-r--r--tests/unit/sync_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/unit/sync_test.ts b/tests/unit/sync_test.ts
index 40a8054c0..93eb4f0b0 100644
--- a/tests/unit/sync_test.ts
+++ b/tests/unit/sync_test.ts
@@ -11,7 +11,7 @@ Deno.test(
create: true,
});
const data = new Uint8Array(64);
- Deno.writeSync(file.rid, data);
+ file.writeSync(data);
Deno.fdatasyncSync(file.rid);
Deno.removeSync(filename);
},