From b6c74aab240430fa70c057be825ce766d2314e02 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Fri, 16 Aug 2024 00:30:06 +0100 Subject: Revert "test: run unit tests with DENO_FUTURE=1 (#24400)" (#25060) This reverts commit 22a834ff5b4b312b8f91be8991f2b495d49fad2f. Appears this commit might have broken tests on `main`. --- tests/unit/sync_test.ts | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'tests/unit/sync_test.ts') diff --git a/tests/unit/sync_test.ts b/tests/unit/sync_test.ts index 6112f3520..93eb4f0b0 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, DENO_FUTURE } from "./test_util.ts"; +import { assertEquals } from "./test_util.ts"; Deno.test( - { ignore: DENO_FUTURE, permissions: { read: true, write: true } }, + { 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( - { ignore: DENO_FUTURE, permissions: { read: true, write: true } }, + { 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( - { ignore: DENO_FUTURE, permissions: { read: true, write: true } }, + { 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( - { ignore: DENO_FUTURE, permissions: { read: true, write: true } }, + { permissions: { read: true, write: true } }, async function fsyncSuccess() { const filename = (await Deno.makeTempDir()) + "/test_fsync.txt"; using file = await Deno.open(filename, { -- cgit v1.2.3