summaryrefslogtreecommitdiff
path: root/fs/copy_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'fs/copy_test.ts')
-rw-r--r--fs/copy_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/fs/copy_test.ts b/fs/copy_test.ts
index 09aae0ff6..a11838c4b 100644
--- a/fs/copy_test.ts
+++ b/fs/copy_test.ts
@@ -16,7 +16,7 @@ import { ensureSymlink, ensureSymlinkSync } from "./ensure_symlink.ts";
const testdataDir = path.resolve("fs", "testdata");
// TODO(axetroy): Add test for Windows once symlink is implemented for Windows.
-const isWindows = Deno.platform.os === "win";
+const isWindows = Deno.build.os === "win";
async function testCopy(
name: string,