0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-03-03 09:31:22 -05:00

test(std/node): include windows in link tests (#6620)

This commit is contained in:
Casper Beyer 2020-07-06 06:06:16 +08:00 committed by GitHub
parent f85a0ce634
commit 9ac416913e
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -3,10 +3,7 @@ import { fail, assertEquals } from "../../testing/asserts.ts";
import { link, linkSync } from "./_fs_link.ts";
import { assert } from "../../testing/asserts.ts";
const isWindows = Deno.build.os === "windows";
Deno.test({
ignore: isWindows,
name: "ASYNC: hard linking files works as expected",
async fn() {
const tempFile: string = await Deno.makeTempFile();
@ -31,7 +28,6 @@ Deno.test({
});
Deno.test({
ignore: isWindows,
name: "ASYNC: hard linking files passes error to callback",
async fn() {
let failed = false;
@ -53,7 +49,6 @@ Deno.test({
});
Deno.test({
ignore: isWindows,
name: "SYNC: hard linking files works as expected",
fn() {
const tempFile: string = Deno.makeTempFileSync();