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 /js | |
parent | eecb4fea26aa3d1cddef1bb44ed3500d2b4dd477 (diff) |
Move deno_std to a more convenient location. (#3057)
js/deps/https/deno.land/std -> js/std
Diffstat (limited to 'js')
-rw-r--r-- | js/Cargo.toml | 4 | ||||
m--------- | js/deps/https/deno.land/std | 0 | ||||
-rw-r--r-- | js/test_util.ts | 9 | ||||
-rw-r--r-- | js/unit_tests.ts | 2 |
4 files changed, 6 insertions, 9 deletions
diff --git a/js/Cargo.toml b/js/Cargo.toml index f36ca7de7..40cc43d93 100644 --- a/js/Cargo.toml +++ b/js/Cargo.toml @@ -7,8 +7,8 @@ edition = "2018" description = "Provides snapshots for the deno CLI" repository = "https://github.com/denoland/deno" exclude = [ - "deps/https/deno.land/std/fs/testdata/0-link.ts", - "deps/https/deno.land/std/fs/testdata/copy_dir_link_file/0.txt", + "std/fs/testdata/0-link.ts", + "std/fs/testdata/copy_dir_link_file/0.txt", ] [lib] diff --git a/js/deps/https/deno.land/std b/js/deps/https/deno.land/std deleted file mode 160000 -Subproject 43aafbf33285753e7b42230f0eb7969b300f71c diff --git a/js/test_util.ts b/js/test_util.ts index 52e09301b..bb75082e6 100644 --- a/js/test_util.ts +++ b/js/test_util.ts @@ -7,11 +7,8 @@ // tests by the special string. permW1N0 means allow-write but not allow-net. // See tools/unit_tests.py for more details. -import * as testing from "./deps/https/deno.land/std/testing/mod.ts"; -import { - assert, - assertEquals -} from "./deps/https/deno.land/std/testing/asserts.ts"; +import * as testing from "../std/testing/mod.ts"; +import { assert, assertEquals } from "../std/testing/asserts.ts"; export { assert, assertThrows, @@ -21,7 +18,7 @@ export { assertStrictEq, assertStrContains, unreachable -} from "./deps/https/deno.land/std/testing/asserts.ts"; +} from "../std/testing/asserts.ts"; interface TestPermissions { read?: boolean; diff --git a/js/unit_tests.ts b/js/unit_tests.ts index 2da67c40e..a83b57c15 100644 --- a/js/unit_tests.ts +++ b/js/unit_tests.ts @@ -55,7 +55,7 @@ import "./version_test.ts"; import "../website/app_test.ts"; -import { runIfMain } from "./deps/https/deno.land/std/testing/mod.ts"; +import { runIfMain } from "../std/testing/mod.ts"; async function main(): Promise<void> { // Testing entire test suite serially |