Skip to content

Commit

Permalink
refine test code on ReadableStream.from string
Browse files Browse the repository at this point in the history
  • Loading branch information
imcotton committed Aug 22, 2024
1 parent 585f74f commit fa155f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/scanner/index.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ describe('scanner', function () {

const scanner = make_scanner();

const mine = ReadableStream.from(`foobar`);
const mine = ReadableStream.from(Array.from(`foobar`));
const copy = scanner(mine);

asserts.assertStrictEquals(copy, mine);
Expand Down

0 comments on commit fa155f4

Please sign in to comment.