mirror of
https://github.com/denoland/deno.git
synced 2025-09-27 04:39:10 +00:00
BREAKING: Remove Deno.EOF, use null instead (#4953)
This commit is contained in:
parent
47c2f034e9
commit
678313b176
46 changed files with 329 additions and 325 deletions
|
@ -13,7 +13,7 @@ async function startServer(): Promise<void> {
|
|||
assert(server.stdout != null);
|
||||
const r = new TextProtoReader(new BufReader(server.stdout));
|
||||
const s = await r.readLine();
|
||||
assert(s !== Deno.EOF && s.includes("Racing server listening..."));
|
||||
assert(s !== null && s.includes("Racing server listening..."));
|
||||
}
|
||||
function killServer(): void {
|
||||
server.close();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue