Skip to content

Conversation

vsemozhetbyt
Copy link
Contributor

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
Affected core subsystem(s)

test, cli

expect was probably a typo, as it is a function and will always be undefined as JSON.

The previous test() check infers it should be want.

cc @sam-github

@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Jun 8, 2017
@vsemozhetbyt vsemozhetbyt added the cli Issues and PRs related to the Node.js command line interface. label Jun 8, 2017
@vsemozhetbyt
Copy link
Contributor Author

vsemozhetbyt commented Jun 8, 2017

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

Two fails seem unrelated.

Copy link
Member

Choose a reason for hiding this comment

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

While we're in here, maybe change this to assert.fail(...) instead of assert(false, ...)?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done.

`expect` was probably a typo, as it is a function
and will always be `undefined` as JSON.

The previous `test()` check infers it should be `want`.
@vsemozhetbyt
Copy link
Contributor Author

assert(false, msg) -> assert.fail(msg)
New CI: https://ci.nodejs.org/job/node-test-pull-request/8564/

@vsemozhetbyt
Copy link
Contributor Author

Landed in 401a372

@vsemozhetbyt vsemozhetbyt deleted the test-cli-node-options.js branch June 12, 2017 09:16
vsemozhetbyt added a commit that referenced this pull request Jun 12, 2017
`expect` was probably a typo, as it is a function
and will always be `undefined` as JSON.

The previous `test()` check infers it should be `want`.

PR-URL: #13558
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Alexey Orlenko <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
addaleax pushed a commit that referenced this pull request Jun 12, 2017
`expect` was probably a typo, as it is a function
and will always be `undefined` as JSON.

The previous `test()` check infers it should be `want`.

PR-URL: #13558
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Yuta Hiroto <[email protected]>
Reviewed-By: Alexey Orlenko <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
@addaleax addaleax mentioned this pull request Jun 12, 2017
@gibfahn gibfahn mentioned this pull request Jun 15, 2017
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cli Issues and PRs related to the Node.js command line interface. test Issues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

9 participants