summaryrefslogtreecommitdiff
path: root/std/io/streams_test.ts
diff options
context:
space:
mode:
authorKitson Kelly <me@kitsonkelly.com>2021-01-15 08:57:19 +1100
committerGitHub <noreply@github.com>2021-01-15 08:57:19 +1100
commitb8303c7812e3483c9ce63bbd8e2a9d420a47aee9 (patch)
tree92eed14cda38e09309489d882a94c03a90927aed /std/io/streams_test.ts
parent2d1208556ad09844407c484b1e23887e3ade97c7 (diff)
refactor(op_crate/fetch): align streams to spec (#9103)
Fixes #8814
Diffstat (limited to 'std/io/streams_test.ts')
-rw-r--r--std/io/streams_test.ts2
1 files changed, 1 insertions, 1 deletions
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<void> {
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));
}