Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: string-decorater.lastChar #21084

Closed
wants to merge 2 commits into from

Conversation

shisama
Copy link
Contributor

@shisama shisama commented Jun 1, 2018

Added test for string-decorater.lastChar to improve coverage.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

Added test for string-decorater.lastChar to improve coverage.
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Jun 1, 2018
@@ -90,7 +90,8 @@ test('utf16le', Buffer.from('3DD84DDC', 'hex'), '\ud83d\udc4d'); // thumbs up
decoder = new StringDecoder('utf8');
assert.strictEqual(decoder.write(Buffer.from('E1', 'hex')), '');

// A quick test for lastNeed & lastTotal which are undocumented.
// A quick test for lastChar & lastNeed & lastTotal which are undocumented.
Copy link
Member

Choose a reason for hiding this comment

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

nit: lastChar & lastNeed & lastTotal -> lastChar, lastNeed & lastTotal

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks. Fixed it.

@trivikr trivikr added the author ready PRs that have at least one approval, no pending requests for changes, and a CI started. label Jun 4, 2018
@trivikr
Copy link
Member

trivikr commented Jun 4, 2018

lance pushed a commit that referenced this pull request Jun 4, 2018
Added test for string-decorater.lastChar to improve coverage.

PR-URL: #21084
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Lance Ball <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
@lance
Copy link
Member

lance commented Jun 4, 2018

Landed in: 42adb65

@lance lance closed this Jun 4, 2018
MylesBorins pushed a commit that referenced this pull request Jun 6, 2018
Added test for string-decorater.lastChar to improve coverage.

PR-URL: #21084
Reviewed-By: Tiancheng "Timothy" Gu <[email protected]>
Reviewed-By: Lance Ball <[email protected]>
Reviewed-By: Trivikram Kamat <[email protected]>
@MylesBorins MylesBorins mentioned this pull request Jun 6, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
author ready PRs that have at least one approval, no pending requests for changes, and a CI started. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants