summaryrefslogtreecommitdiff
path: root/fs/globrex_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'fs/globrex_test.ts')
-rw-r--r--fs/globrex_test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/fs/globrex_test.ts b/fs/globrex_test.ts
index 3f645ce9b..df36dc550 100644
--- a/fs/globrex_test.ts
+++ b/fs/globrex_test.ts
@@ -2,12 +2,11 @@
// MIT License
// Copyright (c) 2018 Terkel Gjervig Nielsen
-import * as deno from "deno";
import { test } from "../testing/mod.ts";
import { assertEquals } from "../testing/asserts.ts";
import { globrex } from "./globrex.ts";
-const isWin = deno.platform.os === "win";
+const isWin = Deno.build.os === "win";
const t = { equal: assertEquals, is: assertEquals };
function match(glob, strUnix, strWin?, opts = {}) {