From e0ca60e7707b5896ce67301aefd1de4a76e3cf75 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 28 Apr 2020 12:35:23 -0400 Subject: BREAKING: Use LLVM target triple for Deno.build (#4948) Deno.build.os values have changed to correspond to standard LLVM target triples "win" -> "windows" "mac" -> "darwin" --- cli/js/tests/stat_test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cli/js/tests/stat_test.ts') diff --git a/cli/js/tests/stat_test.ts b/cli/js/tests/stat_test.ts index 70ec5dc2e..7eaf73d58 100644 --- a/cli/js/tests/stat_test.ts +++ b/cli/js/tests/stat_test.ts @@ -193,7 +193,7 @@ unitTest({ perms: { read: true } }, async function lstatNotFound(): Promise< }); unitTest( - { ignore: Deno.build.os !== "win", perms: { read: true, write: true } }, + { ignore: Deno.build.os !== "windows", perms: { read: true, write: true } }, function statNoUnixFields(): void { const enc = new TextEncoder(); const data = enc.encode("Hello"); @@ -214,7 +214,7 @@ unitTest( ); unitTest( - { ignore: Deno.build.os === "win", perms: { read: true, write: true } }, + { ignore: Deno.build.os === "windows", perms: { read: true, write: true } }, function statUnixFields(): void { const enc = new TextEncoder(); const data = enc.encode("Hello"); -- cgit v1.2.3