summaryrefslogtreecommitdiff
path: root/std/examples/test.ts
diff options
context:
space:
mode:
authorNayeem Rahman <nayeemrmn99@gmail.com>2020-06-12 20:23:38 +0100
committerGitHub <noreply@github.com>2020-06-12 15:23:38 -0400
commit1fff6f55c3ba98a10018c6d374795e612061e9b6 (patch)
tree12074b6d44736b11513d857e437f9e30a6bf65a4 /std/examples/test.ts
parent26bf56afdaf16634ffbaa23684faf3a44cc10f62 (diff)
refactor: Don't destructure the Deno namespace (#6268)
Diffstat (limited to 'std/examples/test.ts')
-rw-r--r--std/examples/test.ts3
1 files changed, 1 insertions, 2 deletions
diff --git a/std/examples/test.ts b/std/examples/test.ts
index acda9293d..20db3fb1d 100644
--- a/std/examples/test.ts
+++ b/std/examples/test.ts
@@ -1,5 +1,4 @@
// Copyright 2018-2020 the Deno authors. All rights reserved. MIT license.
-const { run } = Deno;
import { assertEquals } from "../testing/asserts.ts";
/** Example of how to do basic tests */
@@ -13,7 +12,7 @@ Deno.test("t2", function (): void {
/** A more complicated test that runs a subprocess. */
Deno.test("catSmoke", async function (): Promise<void> {
- const p = run({
+ const p = Deno.run({
cmd: [
Deno.execPath(),
"run",