summaryrefslogtreecommitdiff
path: root/net/file_server_test.ts
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/file_server_test.ts
parent68584f983e4b1cf81d84cdb57bb5459127293cd2 (diff)
Fix format globs (denoland/deno_std#87)
Original: https://github.com/denoland/deno_std/commit/297cf0975eca194a677e6fadd7d753d62eb453c3
Diffstat (limited to 'net/file_server_test.ts')
-rw-r--r--net/file_server_test.ts10
1 files changed, 4 insertions, 6 deletions
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();
});