summaryrefslogtreecommitdiff
path: root/js/platform_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'js/platform_test.ts')
-rw-r--r--js/platform_test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/js/platform_test.ts b/js/platform_test.ts
index 41b8cc9fe..0149ef7a5 100644
--- a/js/platform_test.ts
+++ b/js/platform_test.ts
@@ -1,11 +1,10 @@
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
import { test, assert } from "./test_util.ts";
-import * as deno from "deno";
test(function platformTransform() {
// deno.platform is injected by rollup at compile time. Here
// we check it has been properly transformed.
- const { arch, os } = deno.platform;
+ const { arch, os } = Deno.platform;
assert(arch === "x64");
assert(os === "mac" || os === "win" || os === "linux");
});