summaryrefslogtreecommitdiff
path: root/std/io/ioutil_test.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/io/ioutil_test.ts')
-rw-r--r--std/io/ioutil_test.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/std/io/ioutil_test.ts b/std/io/ioutil_test.ts
index 5e4d3e3d2..4d7d0f4ca 100644
--- a/std/io/ioutil_test.ts
+++ b/std/io/ioutil_test.ts
@@ -17,7 +17,7 @@ class BinaryReader implements Reader {
constructor(private bytes: Uint8Array = new Uint8Array(0)) {}
- read(p: Uint8Array): Promise<number | Deno.EOF> {
+ read(p: Uint8Array): Promise<number | null> {
p.set(this.bytes.subarray(this.index, p.byteLength));
this.index += p.byteLength;
return Promise.resolve(p.byteLength);