Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: export chunks in std/io #3497

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix typo
  • Loading branch information
bartlomieju committed Dec 14, 2019
commit 13b0182b72f7bbdcb70bc01310c3dd23ff606c17
2 changes: 1 addition & 1 deletion std/io/bufio_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,7 @@ test(async function chunksAndLines(): Promise<void> {
}

assertEquals(chunks_.length, 3);
assertEquals(chunks_, ["World World", "Hello World 2", "Hello World 3"]);
assertEquals(chunks_, ["Hello World", "Hello World 2", "Hello World 3"]);

const linesData = new Buffer(enc.encode("0\n1\n2\n3\n4\n5\n6\n7\n8\n9"));
const lines_ = [];
Expand Down