Skip to content

Off-by-one in String+IO#1670

Open
SiliconA-Z wants to merge 1 commit intoswiftlang:mainfrom
SiliconA-Z:off-by-ones
Open

Off-by-one in String+IO#1670
SiliconA-Z wants to merge 1 commit intoswiftlang:mainfrom
SiliconA-Z:off-by-ones

Conversation

@SiliconA-Z
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]
Copy link
Copy Markdown
Contributor

@jmschonfeld jmschonfeld left a comment

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