mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
Upgrade deno_std to bef7ba (#1609)
This commit is contained in:
parent
c7b53125c3
commit
eff7a1484e
5 changed files with 8 additions and 3 deletions
|
@ -1 +1 @@
|
||||||
Subproject commit 41a2d218264b2f9217bf793893aff5dadd2c4ca9
|
Subproject commit bef7ba14303997a05cdd1ea0d28ffefeee75c993
|
|
@ -47,3 +47,5 @@ import "./write_file_test.ts";
|
||||||
import "../tools/util_test.ts";
|
import "../tools/util_test.ts";
|
||||||
|
|
||||||
import "../website/app_test.js";
|
import "../website/app_test.js";
|
||||||
|
|
||||||
|
import "deps/https/deno.land/x/std/testing/main.ts";
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env deno --allow-run
|
#!/usr/bin/env deno --allow-run
|
||||||
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
// Copyright 2018-2019 the Deno authors. All rights reserved. MIT license.
|
||||||
import * as deno from "deno";
|
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";
|
import { findFiles } from "./util.ts";
|
||||||
|
|
||||||
const clangFormat = join("third_party", "depot_tools", "clang-format");
|
const clangFormat = join("third_party", "depot_tools", "clang-format");
|
||||||
|
|
|
@ -19,7 +19,7 @@ def deno_http_benchmark(deno_exe):
|
||||||
def deno_net_http_benchmark(deno_exe):
|
def deno_net_http_benchmark(deno_exe):
|
||||||
deno_cmd = [
|
deno_cmd = [
|
||||||
deno_exe, "--allow-net",
|
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."
|
print "http_benchmark testing DENO using net/http."
|
||||||
return run(
|
return run(
|
||||||
|
|
|
@ -7,6 +7,7 @@ import { Project, ts } from "ts-simple-ast";
|
||||||
import {
|
import {
|
||||||
assert,
|
assert,
|
||||||
assertEqual,
|
assertEqual,
|
||||||
|
runTests,
|
||||||
test
|
test
|
||||||
} from "../../js/deps/https/deno.land/x/std/testing/mod";
|
} from "../../js/deps/https/deno.land/x/std/testing/mod";
|
||||||
import { flatten, mergeGlobal } from "./build_library";
|
import { flatten, mergeGlobal } from "./build_library";
|
||||||
|
@ -167,3 +168,5 @@ test(function buildLibraryMerge() {
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO author unit tests for `ast_util.ts`
|
// TODO author unit tests for `ast_util.ts`
|
||||||
|
|
||||||
|
runTests();
|
||||||
|
|
Loading…
Reference in a new issue