GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — test: add coverage for utf8CheckIncomplete() by sushi90 · Pull Request #11419 · nodejs/node

Conversation

@sushi90

@sushi90 sushi90 commented Feb 16, 2017

Copy link
Copy Markdown
Contributor

This commit adds code coverage to utf8CheckIncomplete(), which the lastNeed is greater than buffer length.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
sushi90 added 2 commits February 17, 2017 00:24
@sushi90
test: add coverage for utf8CheckIncomplete()
a20071c
@sushi90
test: add coverage for utf8CheckIncomplete()
cd5aa63
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to Node.js core tests and test infrastructure. label Feb 16, 2017
addaleax
addaleax reviewed Feb 16, 2017
View reviewed changes
Comment thread test/parallel/test-string-decoder.js Outdated
assert.strictEqual(decoder.write(Buffer.from('41F2', 'hex')), '\ufffdA');
assert.strictEqual(decoder.end(), '\ufffd');

//Additional utf8Text test

@addaleax addaleax Feb 16, 2017

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Can you update the PR with a space after the //?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@sushi90 sushi90 Feb 17, 2017

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM. It is done.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@addaleax addaleax added the string_decoder Issues and PRs related to the string_decoder subsystem. label Feb 16, 2017
jasnell
jasnell approved these changes Feb 16, 2017
View reviewed changes

@jasnell jasnell left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM with the lint fix

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
cjihrig
cjihrig approved these changes Feb 16, 2017
View reviewed changes
sushi90 added 2 commits February 17, 2017 08:39
@sushi90
lint fix
ab6e199
@sushi90
Merge remote-tracking branch 'upstream/master'
9bd5e7d
mhdawson
mhdawson approved these changes Feb 17, 2017
View reviewed changes

@mhdawson mhdawson left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

LGTM

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@mhdawson

mhdawson commented Feb 17, 2017

Copy link
Copy Markdown
Member

CI Run: https://ci.nodejs.org/job/node-test-pull-request/6478/

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

targos
targos approved these changes Feb 18, 2017
View reviewed changes
@targos

targos commented Feb 18, 2017

Copy link
Copy Markdown
Member

Landed in 48f8869. Thank you for the contribution!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@targos targos closed this Feb 18, 2017
targos pushed a commit that referenced this pull request Feb 18, 2017
@sushi90 @targos
test: add coverage for utf8CheckIncomplete()
48f8869
This commit adds code coverage to utf8CheckIncomplete(), when the
lastNeed is greater than buffer length.

PR-URL: #11419
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
addaleax pushed a commit that referenced this pull request Feb 22, 2017
@sushi90 @addaleax
test: add coverage for utf8CheckIncomplete()
b457f38
This commit adds code coverage to utf8CheckIncomplete(), when the
lastNeed is greater than buffer length.

PR-URL: #11419
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
@italoacasas italoacasas mentioned this pull request Feb 25, 2017
7.7.0 Proposal #11553
Merged
jasnell pushed a commit that referenced this pull request Mar 7, 2017
@sushi90 @jasnell
test: add coverage for utf8CheckIncomplete()
cb9b7bf
This commit adds code coverage to utf8CheckIncomplete(), when the
lastNeed is greater than buffer length.

PR-URL: #11419
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
@jasnell jasnell added the dont-land-on-v4.x label Mar 7, 2017
@jasnell

jasnell commented Mar 7, 2017

Copy link
Copy Markdown
Member

A backport PR would be required to land in v4

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

MylesBorins pushed a commit that referenced this pull request Mar 9, 2017
@sushi90 @MylesBorins
test: add coverage for utf8CheckIncomplete()
8da156d
This commit adds code coverage to utf8CheckIncomplete(), when the
lastNeed is greater than buffer length.

PR-URL: #11419
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Mar 9, 2017
v6.10.1 proposal #11759
Merged
This was referenced Jul 6, 2023
[Snyk] Fix for 2 vulnerabilities leonardoadame/node#23
Open
[Snyk] Fix for 2 vulnerabilities leonardoadame/node#57
Open
[Snyk] Fix for 2 vulnerabilities leonardoadame/node#77
Open
[Snyk] Security upgrade jest from 25.5.4 to 27.0.0 leonardoadame/node#147
Open
@aliscco aliscco mentioned this pull request Jul 10, 2023
[Snyk] Security upgrade jest from 24.9.0 to 27.0.0 aliscco/alisco-node#628
Open
@leonardoadame leonardoadame mentioned this pull request Nov 28, 2023
[Snyk] Security upgrade jest from 26.6.3 to 27.0.0 leonardoadame/node#199
Open
This was referenced Nov 29, 2023
[Snyk] Security upgrade jest from 26.4.2 to 27.0.0 aliscco/alisco-node#785
Open
[Snyk] Security upgrade jest from 24.9.0 to 27.0.0 aliscco/alisco-node#799
Open
@leonardoadame leonardoadame mentioned this pull request Nov 30, 2023
[Snyk] Security upgrade jest from 25.5.4 to 27.0.0 leonardoadame/node#281
Open
@aliscco aliscco mentioned this pull request Dec 2, 2023
[Snyk] Fix for 6 vulnerabilities aliscco/alisco-node#1050
Open
@leonardoadame leonardoadame mentioned this pull request Dec 5, 2023
[Snyk] Security upgrade jest from 25.5.4 to 27.0.0 leonardoadame/node#539
Open
@aliscco aliscco mentioned this pull request Dec 8, 2023
[Snyk] Security upgrade jest from 24.9.0 to 27.0.0 aliscco/alisco-node#1158
Open
This was referenced Dec 10, 2023
[Snyk] Security upgrade jest from 25.5.4 to 27.0.0 leonardoadame/node#577
Open
[Snyk] Security upgrade jest from 24.9.0 to 27.0.0 leonardoadame/node#578
Open
This was referenced Dec 10, 2023
[Snyk] Security upgrade jest from 26.4.2 to 27.0.0 aliscco/alisco-node#1165
Open
[Snyk] Security upgrade jest from 24.9.0 to 27.0.0 aliscco/alisco-node#1167
Open
@leonardoadame leonardoadame mentioned this pull request Dec 19, 2023
[Snyk] Security upgrade jest from 26.6.3 to 27.0.0 leonardoadame/node#581
Open
@aliscco aliscco mentioned this pull request Jan 1, 2024
[Snyk] Security upgrade jest from 26.4.2 to 27.0.0 aliscco/alisco-node#1182
Open
@aliscco aliscco mentioned this pull request Jan 31, 2024
[Snyk] Security upgrade jest from 24.9.0 to 27.0.0 aliscco/alisco-node#1205
Open
@leonardoadame leonardoadame mentioned this pull request Feb 12, 2024
[Snyk] Fix for 3 vulnerabilities leonardoadame/node#684
Open
@leonardoadame leonardoadame mentioned this pull request May 13, 2024
[Snyk] Fix for 2 vulnerabilities leonardoadame/node#831
Open
@aliscco aliscco mentioned this pull request May 15, 2024
[Snyk] Fix for 2 vulnerabilities aliscco/alisco-node#1499
Open
@leonardoadame leonardoadame mentioned this pull request May 16, 2024
[Snyk] Security upgrade jest from 24.9.0 to 27.0.0 leonardoadame/node#963
Open
This was referenced May 16, 2024
[Snyk] Security upgrade jest from 24.9.0 to 27.0.0 aliscco/alisco-node#1578
Open
[Snyk] Security upgrade jest from 26.4.2 to 27.0.0 aliscco/alisco-node#1581
Open
[Snyk] Security upgrade jest from 24.9.0 to 27.0.0 aliscco/alisco-node#1601
Open
@leonardoadame leonardoadame mentioned this pull request May 19, 2024
[Snyk] Security upgrade jest from 26.6.3 to 27.0.0 leonardoadame/node#998
Open
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@addaleax addaleax addaleax left review comments
@jasnell jasnell jasnell approved these changes
@cjihrig cjihrig cjihrig approved these changes
+2 more reviewers
@targos targos targos approved these changes
@mhdawson mhdawson mhdawson approved these changes
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

string_decoder Issues and PRs related to the string_decoder subsystem. test Issues and PRs related to Node.js core tests and test infrastructure.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@sushi90 @mhdawson @targos @jasnell @addaleax @cjihrig @nodejs-github-bot
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.