diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-08-26 22:58:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-26 23:58:28 +0200 |
commit | ba58628601057c6f996cbad287fcfbe353872368 (patch) | |
tree | 5642806d3aed1d46eab233511ef8a929cf0c51d3 /tests/unit/sync_test.ts | |
parent | 631d931973fbb7d2e01e1aeb87a33dd9d63ec38e (diff) |
Reland "test: run unit tests with DENO_FUTURE=1" (#25212)
Reverted in https://github.com/denoland/deno/pull/25060
Diffstat (limited to 'tests/unit/sync_test.ts')
-rw-r--r-- | tests/unit/sync_test.ts | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/tests/unit/sync_test.ts b/tests/unit/sync_test.ts index 93eb4f0b0..6112f3520 100644 --- a/tests/unit/sync_test.ts +++ b/tests/unit/sync_test.ts @@ -1,8 +1,8 @@ // Copyright 2018-2024 the Deno authors. All rights reserved. MIT license. -import { assertEquals } from "./test_util.ts"; +import { assertEquals, DENO_FUTURE } from "./test_util.ts"; Deno.test( - { permissions: { read: true, write: true } }, + { ignore: DENO_FUTURE, permissions: { read: true, write: true } }, function fdatasyncSyncSuccess() { const filename = Deno.makeTempDirSync() + "/test_fdatasyncSync.txt"; using file = Deno.openSync(filename, { @@ -18,7 +18,7 @@ Deno.test( ); Deno.test( - { permissions: { read: true, write: true } }, + { ignore: DENO_FUTURE, permissions: { read: true, write: true } }, async function fdatasyncSuccess() { const filename = (await Deno.makeTempDir()) + "/test_fdatasync.txt"; using file = await Deno.open(filename, { @@ -35,7 +35,7 @@ Deno.test( ); Deno.test( - { permissions: { read: true, write: true } }, + { ignore: DENO_FUTURE, permissions: { read: true, write: true } }, function fsyncSyncSuccess() { const filename = Deno.makeTempDirSync() + "/test_fsyncSync.txt"; using file = Deno.openSync(filename, { @@ -52,7 +52,7 @@ Deno.test( ); Deno.test( - { permissions: { read: true, write: true } }, + { ignore: DENO_FUTURE, permissions: { read: true, write: true } }, async function fsyncSuccess() { const filename = (await Deno.makeTempDir()) + "/test_fsync.txt"; using file = await Deno.open(filename, { |