diff options
author | Yoshiya Hinosawa <stibium121@gmail.com> | 2019-07-08 04:20:41 +0900 |
---|---|---|
committer | Ryan Dahl <ry@tinyclouds.org> | 2019-07-07 15:20:41 -0400 |
commit | 9a01d6455ec3cfa955967102f576cb542999321a (patch) | |
tree | 82a4ab5776a09432f23b9ed99a31306c884c833e /http/file_server_test.ts | |
parent | 6a0858bd5d9d327ac7f46bee5f5b2fab642f2a3f (diff) |
Upgrade to v0.11.0 (update Reader interface) (denoland/deno_std#527)
Original: https://github.com/denoland/deno_std/commit/3ea90d54f6dad4bcc3d32e63601096a6c0ff3ce4
Diffstat (limited to 'http/file_server_test.ts')
-rw-r--r-- | http/file_server_test.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http/file_server_test.ts b/http/file_server_test.ts index 1bd4e8160..52d6ec688 100644 --- a/http/file_server_test.ts +++ b/http/file_server_test.ts @@ -3,7 +3,7 @@ const { readFile, run } = Deno; import { test } from "../testing/mod.ts"; import { assert, assertEquals } from "../testing/asserts.ts"; -import { BufReader, EOF } from "../io/bufio.ts"; +import { BufReader } from "../io/bufio.ts"; import { TextProtoReader } from "../textproto/mod.ts"; let fileServer: Deno.Process; @@ -24,7 +24,7 @@ async function startFileServer(): Promise<void> { // Once fileServer is ready it will write to its stdout. const r = new TextProtoReader(new BufReader(fileServer.stdout!)); const s = await r.readLine(); - assert(s !== EOF && s.includes("server listening")); + assert(s !== Deno.EOF && s.includes("server listening")); } function killFileServer(): void { |