From eff7a1484eae038624d398e276424fcdc43b79de Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Thu, 31 Jan 2019 18:11:37 -0500 Subject: Upgrade deno_std to bef7ba (#1609) --- js/deps/https/deno.land/x/std | 2 +- js/unit_tests.ts | 2 ++ tools/format.ts | 2 +- tools/http_benchmark.py | 2 +- tools/ts_library_builder/test.ts | 3 +++ 5 files changed, 8 insertions(+), 3 deletions(-) diff --git a/js/deps/https/deno.land/x/std b/js/deps/https/deno.land/x/std index 41a2d2182..bef7ba143 160000 --- a/js/deps/https/deno.land/x/std +++ b/js/deps/https/deno.land/x/std @@ -1 +1 @@ -Subproject commit 41a2d218264b2f9217bf793893aff5dadd2c4ca9 +Subproject commit bef7ba14303997a05cdd1ea0d28ffefeee75c993 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(); -- cgit v1.2.3