From 6a783ea179de1321ae7fd0586967476e72984c63 Mon Sep 17 00:00:00 2001 From: Ryan Dahl Date: Tue, 1 Jan 2019 22:46:17 -0500 Subject: Add testing module Original: https://github.com/denoland/deno_std/commit/61fdae51a7cc50874b9674c40b1aef3fbf012494 --- net/bufio_test.ts | 2 +- net/extension_map.json | 2 +- net/file_server_test.ts | 2 +- net/http_test.ts | 2 +- net/textproto_test.ts | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) (limited to 'net') diff --git a/net/bufio_test.ts b/net/bufio_test.ts index 96490a6c9..411f173f4 100644 --- a/net/bufio_test.ts +++ b/net/bufio_test.ts @@ -8,7 +8,7 @@ import { test, assert, assertEqual -} from "https://deno.land/x/testing/testing.ts"; +} from "../testing/mod.ts"; import { BufReader, BufState, BufWriter } from "./bufio.ts"; import * as iotest from "./iotest.ts"; import { charCode, copyBytes, stringsReader } from "./util.ts"; diff --git a/net/extension_map.json b/net/extension_map.json index 241e8677d..b02517d6b 100644 --- a/net/extension_map.json +++ b/net/extension_map.json @@ -82,4 +82,4 @@ ".yml": "text/yaml", ".yaml": "text/yaml", ".zip": "application/zip" -} \ No newline at end of file +} diff --git a/net/file_server_test.ts b/net/file_server_test.ts index 40bec1c4b..36fe8bdc3 100644 --- a/net/file_server_test.ts +++ b/net/file_server_test.ts @@ -4,7 +4,7 @@ import { test, assert, assertEqual -} from "https://deno.land/x/testing/testing.ts"; +} from "../testing/mod.ts"; // Promise to completeResolve when all tests completes let completeResolve; diff --git a/net/http_test.ts b/net/http_test.ts index 93a8049e6..46ea60185 100644 --- a/net/http_test.ts +++ b/net/http_test.ts @@ -10,7 +10,7 @@ import { test, assert, assertEqual -} from "https://deno.land/x/testing/testing.ts"; +} from "../testing/mod.ts"; import { listenAndServe, ServerRequest, diff --git a/net/textproto_test.ts b/net/textproto_test.ts index 3af21247a..9fe5e8dd3 100644 --- a/net/textproto_test.ts +++ b/net/textproto_test.ts @@ -10,7 +10,7 @@ import { test, assert, assertEqual -} from "https://deno.land/x/testing/testing.ts"; +} from "../testing/mod.ts"; function reader(s: string): TextProtoReader { return new TextProtoReader(new BufReader(stringsReader(s))); -- cgit v1.2.3