summaryrefslogtreecommitdiff
path: root/std/http/file_server_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/http/file_server_test.ts')
-rw-r--r--std/http/file_server_test.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/std/http/file_server_test.ts b/std/http/file_server_test.ts
index 66c1d7d04..486bc514c 100644
--- a/std/http/file_server_test.ts
+++ b/std/http/file_server_test.ts
@@ -78,13 +78,13 @@ Deno.test(
assertEquals(res.headers.get("content-type"), "text/markdown");
const downloadedFile = await res.text();
const localFile = new TextDecoder().decode(
- await Deno.readFile("README.md")
+ await Deno.readFile("README.md"),
);
assertEquals(downloadedFile, localFile);
} finally {
await killFileServer();
}
- }
+ },
);
Deno.test(
@@ -98,14 +98,14 @@ Deno.test(
assertEquals(res.headers.get("content-type"), "text/markdown");
const downloadedFile = await res.text();
const localFile = new TextDecoder().decode(
- await Deno.readFile("./http/README.md")
+ await Deno.readFile("./http/README.md"),
);
console.log(downloadedFile, localFile);
assertEquals(downloadedFile, localFile);
} finally {
await killFileServer();
}
- }
+ },
);
Deno.test("serveDirectory", async function (): Promise<void> {