From b8303c7812e3483c9ce63bbd8e2a9d420a47aee9 Mon Sep 17 00:00:00 2001 From: Kitson Kelly Date: Fri, 15 Jan 2021 08:57:19 +1100 Subject: refactor(op_crate/fetch): align streams to spec (#9103) Fixes #8814 --- std/io/streams_test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'std/io/streams_test.ts') diff --git a/std/io/streams_test.ts b/std/io/streams_test.ts index 5017b1f4f..594fc2357 100644 --- a/std/io/streams_test.ts +++ b/std/io/streams_test.ts @@ -181,7 +181,7 @@ Deno.test("toReadableCheck", async function (): Promise { const writableStream = readableStreamFromAsyncIterator(iter); const decoder = new TextDecoder(); - for await (const chunk of writableStream.getIterator()) { + for await (const chunk of writableStream) { readChunks.push(decoder.decode(chunk)); } -- cgit v1.2.3