diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-10-04 14:49:32 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-04 14:49:32 -0400 |
commit | ddcad56ee9bc762171fd88585fd7ab3e3da19e1e (patch) | |
tree | d0c308fc91514a3327266a57a252c4e46122ac6b /cli/tests | |
parent | eecb4fea26aa3d1cddef1bb44ed3500d2b4dd477 (diff) |
Move deno_std to a more convenient location. (#3057)
js/deps/https/deno.land/std -> js/std
Diffstat (limited to 'cli/tests')
-rw-r--r-- | cli/tests/034_onload/imported.ts | 2 | ||||
-rw-r--r-- | cli/tests/034_onload/main.ts | 2 | ||||
-rw-r--r-- | cli/tests/034_onload/nest_imported.ts | 2 | ||||
-rw-r--r-- | cli/tests/045_proxy_test.ts | 7 | ||||
-rw-r--r-- | cli/tests/fetch_deps.ts | 2 |
5 files changed, 6 insertions, 9 deletions
diff --git a/cli/tests/034_onload/imported.ts b/cli/tests/034_onload/imported.ts index d71f9d654..f9a7009b8 100644 --- a/cli/tests/034_onload/imported.ts +++ b/cli/tests/034_onload/imported.ts @@ -1,4 +1,4 @@ -import { assert } from "../../../js/deps/https/deno.land/std/testing/asserts.ts"; +import { assert } from "../../../std/testing/asserts.ts"; import "./nest_imported.ts"; const handler = (e: Event): void => { diff --git a/cli/tests/034_onload/main.ts b/cli/tests/034_onload/main.ts index c3c6bdcc9..db6ca669a 100644 --- a/cli/tests/034_onload/main.ts +++ b/cli/tests/034_onload/main.ts @@ -1,4 +1,4 @@ -import { assert } from "../../../js/deps/https/deno.land/std/testing/asserts.ts"; +import { assert } from "../../../std/testing/asserts.ts"; import "./imported.ts"; const eventHandler = (e: Event): void => { diff --git a/cli/tests/034_onload/nest_imported.ts b/cli/tests/034_onload/nest_imported.ts index 3c4b1d96a..6b4a40749 100644 --- a/cli/tests/034_onload/nest_imported.ts +++ b/cli/tests/034_onload/nest_imported.ts @@ -1,4 +1,4 @@ -import { assert } from "../../../js/deps/https/deno.land/std/testing/asserts.ts"; +import { assert } from "../../../std/testing/asserts.ts"; const handler = (e: Event): void => { assert(!e.cancelable); diff --git a/cli/tests/045_proxy_test.ts b/cli/tests/045_proxy_test.ts index 51a17f7a5..f1226f4c4 100644 --- a/cli/tests/045_proxy_test.ts +++ b/cli/tests/045_proxy_test.ts @@ -1,9 +1,6 @@ // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. -import { - serve, - ServerRequest -} from "../../js/deps/https/deno.land/std/http/server.ts"; -import { assertEquals } from "../../js/deps/https/deno.land/std/testing/asserts.ts"; +import { serve, ServerRequest } from "../../std/http/server.ts"; +import { assertEquals } from "../../std/testing/asserts.ts"; const addr = Deno.args[1] || "127.0.0.1:4555"; diff --git a/cli/tests/fetch_deps.ts b/cli/tests/fetch_deps.ts index 370a8c561..e6ef8854e 100644 --- a/cli/tests/fetch_deps.ts +++ b/cli/tests/fetch_deps.ts @@ -1,5 +1,5 @@ // Run ./tools/http_server.py too in order for this test to run. -import { assert } from "../js/deps/https/deno.land/std/testing/asserts.ts"; +import { assert } from "../std/testing/asserts.ts"; // TODO Top level await https://github.com/denoland/deno/issues/471 async function main(): Promise<void> { |