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 test cases for validateOffsetLengthWrite. by kakts · Pull Request #21195 · nodejs/node

Conversation

@kakts

@kakts kakts commented Jun 7, 2018

Copy link
Copy Markdown
Contributor
Summary.

Added some test cases for validateOffsetLengthWrite in lib/internal/utils.js

This PR improves the test coverage of it.
https://coverage.nodejs.org/coverage-75e91659887012f7/root/internal/fs/utils.js.html#L301

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • tests and/or benchmarks are included
  • documentation is changed or added
  • commit message follows commit guidelines

Sorry, something went wrong.

Uh oh!

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

All reactions
@kakts
test: add some test cases for validateOffsetLengthWrite.
36588a2
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to Node.js core tests and test infrastructure. label Jun 7, 2018
ryzokuken
ryzokuken approved these changes Jun 7, 2018
View reviewed changes
iwko
iwko approved these changes Jun 7, 2018
View reviewed changes
trivikr
trivikr approved these changes Jun 8, 2018
View reviewed changes
starkwang
starkwang approved these changes Jun 8, 2018
View reviewed changes

@starkwang starkwang left a comment

Copy link
Copy Markdown
Contributor

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.

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

Sorry, something went wrong.

Uh oh!

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

All reactions
jasnell
jasnell reviewed Jun 10, 2018
View reviewed changes
Comment thread test/parallel/test-fs-util-validateoffsetlengthwrite.js Outdated
@@ -0,0 +1,56 @@
// Flags: --expose-internals

@jasnell jasnell Jun 10, 2018

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.

nit: unnecessary blank line here

Sorry, something went wrong.

Uh oh!

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

All reactions

@kakts kakts Jun 11, 2018

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.

Thanks! I'll delete it.

Sorry, something went wrong.

Uh oh!

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

All reactions

@kakts kakts Jun 11, 2018

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.

@jasnell I fixed it.

Sorry, something went wrong.

Uh oh!

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

All reactions
jasnell
jasnell approved these changes Jun 10, 2018
View reviewed changes
@kakts
test: delete a white space.
593cbad
@kakts

kakts commented Jun 19, 2018

Copy link
Copy Markdown
Contributor Author

Hi, I've already fixed it. Please review it again.

All reactions

Sorry, something went wrong.

Uh oh!

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

@apapirovski

apapirovski commented Jun 25, 2018

Copy link
Copy Markdown
Contributor

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

All reactions

Sorry, something went wrong.

Uh oh!

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

apapirovski
apapirovski approved these changes Jun 25, 2018
View reviewed changes
@apapirovski apapirovski added the author ready PRs with CI started, the required approvals, and no outstanding review comments. label Jun 25, 2018
@addaleax

addaleax commented Jun 26, 2018

Copy link
Copy Markdown
Member

Landed in a9d9d76 🎉

kakts reacted with thumbs up emoji
All reactions
  • 👍 1 reaction

Sorry, something went wrong.

Uh oh!

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

@addaleax addaleax closed this Jun 26, 2018
addaleax pushed a commit that referenced this pull request Jun 26, 2018
@kakts @addaleax
test: add some test cases for validateOffsetLengthWrite
a9d9d76
PR-URL: #21195
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Weijia Wang <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
targos pushed a commit that referenced this pull request Jun 28, 2018
@kakts @targos
test: add some test cases for validateOffsetLengthWrite
9f2bf3c
PR-URL: #21195
Reviewed-By: Ujjwal Sharma <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
Reviewed-By: Weijia Wang <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
@targos targos mentioned this pull request Jul 3, 2018
v10.6.0 proposal #21629
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@jasnell jasnell jasnell approved these changes
@trivikr trivikr trivikr approved these changes
+4 more reviewers
@apapirovski apapirovski apapirovski approved these changes
@iwko iwko iwko approved these changes
@starkwang starkwang starkwang approved these changes
@ryzokuken ryzokuken ryzokuken 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

author ready PRs with CI started, the required approvals, and no outstanding review comments. 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.

9 participants

@kakts @apapirovski @addaleax @jasnell @iwko @starkwang @ryzokuken @trivikr @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.