Skip to content

Conversation

@mithunsasidharan
Copy link
Contributor

@mithunsasidharanmithunsasidharan commented Dec 6, 2017

Refactored tests to replace assert.throws(fn, common.expectsError(err)); with common.expectsError(fn, err); in following test files :

  • test/parallel/test-async-hooks-asyncresource-constructor.js
  • test/parallel/test-async-wrap-constructor.js
  • test/parallel/test-buffer-alloc.js
  • test/parallel/test-buffer-arraybuffer.js
  • test/parallel/test-buffer-compare-offset.js
  • test/parallel/test-buffer-compare.js
  • test/parallel/test-buffer-concat.js
  • test/parallel/test-buffer-fill.js
  • test/parallel/test-buffer-new.js
  • test/parallel/test-buffer-read.js
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

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Dec 6, 2017
Copy link
Contributor

@evanlucasevanlucas left a comment

Choose a reason for hiding this comment

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

@apapirovski
Copy link
Contributor

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

Was a little wonky last time, double-checking.

@apapirovski
Copy link
Contributor

Landed in 146a9b1

apapirovski pushed a commit that referenced this pull request Dec 8, 2017
PR-URL: #17483 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Dec 12, 2017
PR-URL: #17483 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: James M Snell <[email protected]>
MylesBorins pushed a commit that referenced this pull request Dec 12, 2017
PR-URL: #17483 Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: Colin Ihrig <[email protected]> Reviewed-By: Evan Lucas <[email protected]> Reviewed-By: James M Snell <[email protected]>
@MylesBorinsMylesBorins mentioned this pull request Dec 12, 2017
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

8 participants

@mithunsasidharan@apapirovski@jasnell@evanlucas@cjihrig@BridgeAR@gibfahn@nodejs-github-bot