diff options
author | Ryan Dahl <ry@tinyclouds.org> | 2019-01-31 18:11:37 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-01-31 18:11:37 -0500 |
commit | eff7a1484eae038624d398e276424fcdc43b79de (patch) | |
tree | ac9e47fbc0799b5f3e5a12e5e9035087dd9f150b | |
parent | c7b53125c38c397737da9c17500640cc0670e482 (diff) |
Upgrade deno_std to bef7ba (#1609)
m--------- | js/deps/https/deno.land/x/std | 0 | ||||
-rw-r--r-- | js/unit_tests.ts | 2 | ||||
-rwxr-xr-x | tools/format.ts | 2 | ||||
-rwxr-xr-x | tools/http_benchmark.py | 2 | ||||
-rw-r--r-- | tools/ts_library_builder/test.ts | 3 |
5 files changed, 7 insertions, 2 deletions
diff --git a/js/deps/https/deno.land/x/std b/js/deps/https/deno.land/x/std -Subproject 41a2d218264b2f9217bf793893aff5dadd2c4ca +Subproject bef7ba14303997a05cdd1ea0d28ffefeee75c99 diff --git a/js/unit_tests.ts b/js/unit_tests.ts index 200c0b769..418779f7f 100644 --- a/js/unit_tests.ts +++ b/js/unit_tests.ts @@ -47,3 +47,5 @@ import "./write_file_test.ts"; import "../tools/util_test.ts"; import "../website/app_test.js"; + +import "deps/https/deno.land/x/std/testing/main.ts"; diff --git a/tools/format.ts b/tools/format.ts index 897c2f176..ebf9285fe 100755 --- a/tools/format.ts +++ b/tools/format.ts @@ -1,7 +1,7 @@ #!/usr/bin/env deno --allow-run // Copyright 2018-2019 the Deno authors. All rights reserved. MIT license. import * as deno from "deno"; -import { join } from "../js/deps/https/deno.land/x/std/path/index.ts"; +import { join } from "../js/deps/https/deno.land/x/std/fs/path.ts"; import { findFiles } from "./util.ts"; const clangFormat = join("third_party", "depot_tools", "clang-format"); diff --git a/tools/http_benchmark.py b/tools/http_benchmark.py index eb16616db..312e61da6 100755 --- a/tools/http_benchmark.py +++ b/tools/http_benchmark.py @@ -19,7 +19,7 @@ def deno_http_benchmark(deno_exe): def deno_net_http_benchmark(deno_exe): deno_cmd = [ deno_exe, "--allow-net", - "js/deps/https/deno.land/x/std/net/http_bench.ts", ADDR + "js/deps/https/deno.land/x/std/http/http_bench.ts", ADDR ] print "http_benchmark testing DENO using net/http." return run( diff --git a/tools/ts_library_builder/test.ts b/tools/ts_library_builder/test.ts index 74d7b05f1..a60c7cb05 100644 --- a/tools/ts_library_builder/test.ts +++ b/tools/ts_library_builder/test.ts @@ -7,6 +7,7 @@ import { Project, ts } from "ts-simple-ast"; import { assert, assertEqual, + runTests, test } from "../../js/deps/https/deno.land/x/std/testing/mod"; import { flatten, mergeGlobal } from "./build_library"; @@ -167,3 +168,5 @@ test(function buildLibraryMerge() { }); // TODO author unit tests for `ast_util.ts` + +runTests(); |