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

bug(ex7.1): words count in the test should be 20. Also the solution does not use bufio.ScanWords #40

Open
zino23 opened this issue Jun 4, 2022 · 1 comment

Comments

@zino23
Copy link

zino23 commented Jun 4, 2022

No description provided.

zino23 pushed a commit to zino23/gopl that referenced this issue Jun 4, 2022
@soon1995
Copy link

It should be 19. There are some cases where bytes come with different batches. In this case the first (last word) and the second batches (first word) -- 'sp', and 'lit' should contribute only one word.

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

No branches or pull requests

2 participants