Skip to content

Commit

Permalink
Remove Conn.closeRead (denoland/deno#4970)
Browse files Browse the repository at this point in the history
  • Loading branch information
ry authored and denobot committed Feb 1, 2021
1 parent e4cb19d commit 9eadc89
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion http/mock.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ export function mockConn(base: Partial<Deno.Conn> = {}): Deno.Conn {
port: 0,
},
rid: -1,
closeRead: (): void => {},
closeWrite: (): void => {},
read: (): Promise<number | null> => {
return Promise.resolve(0);
Expand Down
1 change: 0 additions & 1 deletion ws/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,6 @@ test("[ws] ws.close() should use 1000 as close code", async () => {
function dummyConn(r: Reader, w: Writer): Conn {
return {
rid: -1,
closeRead: (): void => {},
closeWrite: (): void => {},
read: (x): Promise<number | null> => r.read(x),
write: (x): Promise<number> => w.write(x),
Expand Down

0 comments on commit 9eadc89

Please sign in to comment.