From 9a01d6455ec3cfa955967102f576cb542999321a Mon Sep 17 00:00:00 2001 From: Yoshiya Hinosawa Date: Mon, 8 Jul 2019 04:20:41 +0900 Subject: Upgrade to v0.11.0 (update Reader interface) (denoland/deno_std#527) Original: https://github.com/denoland/deno_std/commit/3ea90d54f6dad4bcc3d32e63601096a6c0ff3ce4 --- installer/test.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'installer/test.ts') diff --git a/installer/test.ts b/installer/test.ts index c1baa0be1..02a1aade1 100644 --- a/installer/test.ts +++ b/installer/test.ts @@ -3,7 +3,7 @@ const { run, stat, makeTempDir, remove, env, readAll } = Deno; import { test, runIfMain, TestFunction } 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"; import * as path from "../fs/path.ts"; import * as fs from "../fs/mod.ts"; @@ -29,7 +29,7 @@ async function startFileServer(): Promise { // 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 { -- cgit v1.2.3