Skip to content

Bug: reading two lines as one#53

Merged
nacholibre merged 3 commits intonacholibre:masterfrom
Pavel-Ryabov:bug/chunksize_eq_eol
Jan 20, 2026
Merged

Bug: reading two lines as one#53
nacholibre merged 3 commits intonacholibre:masterfrom
Pavel-Ryabov:bug/chunksize_eq_eol

Conversation

@Pavel-Ryabov
Copy link
Contributor

If the chunk size matches the end of the line, then the two lines are read as one.

Added test and my fix

If the chunk size matches the end of the line, then the two lines are read as one
@nacholibre
Copy link
Owner

@Pavel-Ryabov thanks for your contribution.

It seems some of the test fail after your change. Can you take a look? Thanks.

@Pavel-Ryabov
Copy link
Contributor Author

Sorry. I used node tests for the first time and didn't notice that not all tests were passing.
Changed it to a flag instead of an empty buffer.
Thanks.

@nacholibre
Copy link
Owner

@Pavel-Ryabov Thanks for your contribution. I'll merge and make a new minor release.

@nacholibre nacholibre merged commit 49be6a4 into nacholibre:master Jan 20, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants