diff options
Diffstat (limited to 'std/examples/test.ts')
-rw-r--r-- | std/examples/test.ts | 3 |
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", |