Skip to content

Off-by-one in String+IO#1670

Open
AZero13 wants to merge 1 commit into
swiftlang:mainfrom
AZero13:off-by-ones
Open

Off-by-one in String+IO#1670
AZero13 wants to merge 1 commit into
swiftlang:mainfrom
AZero13:off-by-ones

Conversation

@AZero13

@AZero13 AZero13 commented Jan 3, 2026

Copy link
Copy Markdown
Contributor

We need to check data[2] and [3] for the BOM, not [3] and [4]

We need to check data[2] and [3] for the BOM, not [3] and [4]

@jmschonfeld jmschonfeld left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is there a unit test you can add for this? If you use the PR template provided it has a section that requests info on what tests were added or an explanation on why tests cannot be added

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