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

adjust splitLines to match go 1.22 behavior #30

Merged
merged 1 commit into from
Dec 1, 2024

Conversation

LeGEC
Copy link
Contributor

@LeGEC LeGEC commented Oct 26, 2024

see https://tip.golang.org/doc/go1.22#minor_library_changes

there was a change in bufio.Scanner, which does not "report" anymore a 'nil' final line

unit test would work pre 1.22, and fail on 1.22 and onwards

fixes #29

see https://tip.golang.org/doc/go1.22#minor_library_changes

there was a change in bufio.Scanner, which does not "report" anymore
a 'nil' final line

unit test would work pre 1.22, and fail on 1.22 and onwards

fixes subosito#29
Copy link
Collaborator

@luisdavim luisdavim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks.

@luisdavim luisdavim merged commit 490d1d0 into subosito:master Dec 1, 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.

Tests fail with Go 1.22
2 participants