diff options
Diffstat (limited to 'tests/unit/sync_test.ts')
-rw-r--r-- | tests/unit/sync_test.ts | 2 |
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); }, |