Skip to content

Fixed the test with const and strictEqual - #9899

Closed
codeVana wants to merge 1 commit into
nodejs:masterfrom
codeVana:codevana
Closed

Fixed the test with const and strictEqual#9899
codeVana wants to merge 1 commit into
nodejs:masterfrom
codeVana:codevana

Conversation

@codeVana

@codeVanacodeVana commented Dec 1, 2016

Copy link
Copy Markdown
Contributor
Checklist
  • make -j8 test (UNIX), or vcbuild test nosign (Windows) passes
  • commit message follows commit guidelines
Affected core subsystem(s)

test

Description of change

Fixed the test with const and strictEqual

@nodejs-github-botnodejs-github-bot added the test Issues and PRs related to the tests. label Dec 1, 2016
@mscdexmscdex added the os Issues and PRs related to the os subsystem. label Dec 1, 2016
@imyllerimyller added the code-and-learn Issues related to the Code-and-Learn events and PRs submitted during the events. label Dec 1, 2016
@Trott

Trott commented Dec 1, 2016

Copy link
Copy Markdown
Member

@gibfahn

Copy link
Copy Markdown
Member


assert.ok(typeof home === 'string');
assert.ok(home.indexOf(path.sep) !== -1);
assert.strictEqual(typeof home , 'string');

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Why the indentation here? Also, no space before the comma please.

@jasnelljasnell left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

LGTM with the nits requested by @cjihrig fixed. Thank you for the PR!

@Trott

Trott commented Dec 7, 2016

Copy link
Copy Markdown
Member

Fixed linting nit and force-pushed. PTAL @cjihrig

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

@jasnell

Copy link
Copy Markdown
Member

Failure in CI appears to be completely unrelated but still worth noting.

jasnell pushed a commit that referenced this pull request Dec 7, 2016
PR-URL: #9899
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@jasnell

Copy link
Copy Markdown
Member

Landed in 1b25214. Thank you for the PR and for participating in the code-and-learn!

@jasnelljasnell closed this Dec 7, 2016
addaleax pushed a commit that referenced this pull request Dec 8, 2016
PR-URL: #9899
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
addaleax pushed a commit to addaleax/node that referenced this pull request Dec 8, 2016
PR-URL: nodejs#9899
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
@italoacasasitaloacasas mentioned this pull request Dec 15, 2016
MylesBorins pushed a commit that referenced this pull request Dec 20, 2016
PR-URL: #9899
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
PR-URL: #9899
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
MylesBorins pushed a commit that referenced this pull request Dec 21, 2016
PR-URL: #9899
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
This was referenced Dec 21, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

code-and-learnIssues related to the Code-and-Learn events and PRs submitted during the events.osIssues and PRs related to the os subsystem.testIssues and PRs related to the tests.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

10 participants

@codeVana@Trott@gibfahn@jasnell@cjihrig@mscdex@MylesBorins@addaleax@imyller@nodejs-github-bot