From 87e513ffc5d9c14ac4af6a893b9e862c55108bea Mon Sep 17 00:00:00 2001 From: Casper Beyer Date: Tue, 1 Sep 2020 22:03:07 +0800 Subject: fix: use millisecond precision for Deno.futime and Deno.utime (#7299) --- std/fs/copy_test.ts | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'std/fs/copy_test.ts') diff --git a/std/fs/copy_test.ts b/std/fs/copy_test.ts index 75efd7cc0..d21524505 100644 --- a/std/fs/copy_test.ts +++ b/std/fs/copy_test.ts @@ -32,13 +32,6 @@ function testCopy( }); } -function testCopyIgnore( - name: string, - cb: (tempDir: string) => Promise, -): void { - testCopy(name, cb, true); -} - function testCopySync(name: string, cb: (tempDir: string) => void): void { Deno.test({ name, @@ -144,8 +137,7 @@ testCopy( }, ); -// TODO(#6644) This case is ignored because of the issue #5065. -testCopyIgnore( +testCopy( "[fs] copy with preserve timestamps", async (tempDir: string): Promise => { const srcFile = path.join(testdataDir, "copy_file.txt"); -- cgit v1.2.3