summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorRyan Dahl <ry@tinyclouds.org>2019-01-06 14:19:15 -0500
committerGitHub <noreply@github.com>2019-01-06 14:19:15 -0500
commitc164e696d7f924fe785421058d834934b7014429 (patch)
tree90af4dd0f6f5bd2e3149c8af1f8fc8b1247d03dc /net
parent68584f983e4b1cf81d84cdb57bb5459127293cd2 (diff)
Fix format globs (denoland/deno_std#87)
Original: https://github.com/denoland/deno_std/commit/297cf0975eca194a677e6fadd7d753d62eb453c3
Diffstat (limited to 'net')
-rw-r--r--net/bufio_test.ts6
-rw-r--r--net/file_server_test.ts10
-rw-r--r--net/http_test.ts6
-rw-r--r--net/textproto_test.ts6
4 files changed, 7 insertions, 21 deletions
diff --git a/net/bufio_test.ts b/net/bufio_test.ts
index 411f173f4..fa8f4b73b 100644
--- a/net/bufio_test.ts
+++ b/net/bufio_test.ts
@@ -4,11 +4,7 @@
// license that can be found in the LICENSE file.
import { Buffer, Reader, ReadResult } from "deno";
-import {
- test,
- assert,
- assertEqual
-} from "../testing/mod.ts";
+import { test, assert, assertEqual } 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/file_server_test.ts b/net/file_server_test.ts
index e0abb1cf1..28357c912 100644
--- a/net/file_server_test.ts
+++ b/net/file_server_test.ts
@@ -1,10 +1,6 @@
import { readFile } from "deno";
-import {
- test,
- assert,
- assertEqual
-} from "../testing/mod.ts";
+import { test, assert, assertEqual } from "../testing/mod.ts";
// Promise to completeResolve when all tests completes
let completeResolve;
@@ -27,7 +23,9 @@ export function runTests(serverReadyPromise: Promise<any>) {
assert(res.headers.has("access-control-allow-headers"));
assertEqual(res.headers.get("content-type"), "text/yaml");
const downloadedFile = await res.text();
- const localFile = new TextDecoder().decode(await readFile("./azure-pipelines.yml"));
+ const localFile = new TextDecoder().decode(
+ await readFile("./azure-pipelines.yml")
+ );
assertEqual(downloadedFile, localFile);
maybeCompleteTests();
});
diff --git a/net/http_test.ts b/net/http_test.ts
index 46ea60185..9235feb02 100644
--- a/net/http_test.ts
+++ b/net/http_test.ts
@@ -6,11 +6,7 @@
// https://github.com/golang/go/blob/master/src/net/http/responsewrite_test.go
import { Buffer } from "deno";
-import {
- test,
- assert,
- assertEqual
-} from "../testing/mod.ts";
+import { test, assert, assertEqual } from "../testing/mod.ts";
import {
listenAndServe,
ServerRequest,
diff --git a/net/textproto_test.ts b/net/textproto_test.ts
index 9fe5e8dd3..e0ae0749c 100644
--- a/net/textproto_test.ts
+++ b/net/textproto_test.ts
@@ -6,11 +6,7 @@
import { BufReader } from "./bufio.ts";
import { TextProtoReader, append } from "./textproto.ts";
import { stringsReader } from "./util.ts";
-import {
- test,
- assert,
- assertEqual
-} from "../testing/mod.ts";
+import { test, assert, assertEqual } from "../testing/mod.ts";
function reader(s: string): TextProtoReader {
return new TextProtoReader(new BufReader(stringsReader(s)));