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

Fix 22 - accumulate remainder in Lines.makeAsyncIterator #23

Closed
wants to merge 5 commits into from

Conversation

wti
Copy link
Contributor

@wti wti commented Mar 18, 2024

This is the PR planned in #22. A fix is the 1-character change (+=) in the last commit, to accumulate the remainder when there are missing delimiters.

The first five commits are tests, then enough delimiter implementation to demo the bug, and then the test that fails without the fix.

For testing, I'm not confident that the way I wrapped Script is the best, since it puts validation inside the script. Also it seems there should be an easier way to drive the bug test.

I imagine there may be API issues with the delimiters and terminators used to drive the test, but I'm assuming we can address those in a PR for #20, which I'll base off these changes. Since that PR includes these changes, you might find it easier to just go through those commits.

Thanks!

@GeorgeLyon
Copy link
Owner

Portions of this have been committed as part of #26

@GeorgeLyon GeorgeLyon closed this Mar 22, 2024
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