FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

test: increase coverage for assertion_error.js by Trott · Pull Request #26065 · nodejs/node · GitHub

/ node Public

test: increase coverage for assertion_error.js - #26065

Closed
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:1024-coverage
Closed

test: increase coverage for assertion_error.js#26065
Trott wants to merge 1 commit into
nodejs:masterfrom
Trott:1024-coverage

Conversation

Trott commented Feb 13, 2019

Copy link
Copy Markdown
Member

Add a test for long strings and assert.notDeepEqual() to cover code that
truncates output when it is longer than 1024 characters.

This introduces coverage for https://coverage.nodejs.org/coverage-0a4c69a5c5e8ba93/lib/internal/assert/assertion_error.js.html#L370.

I standardized nearby arrow functions to use braces when they are not intended to return a value.

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

Copy link
Copy Markdown
Collaborator

nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 13, 2019

Trott commented Feb 13, 2019

Copy link
Copy Markdown
Member Author

Trott changed the title test: increase coverage for assertione_error.js test: increase coverage for assertion_error.js Feb 13, 2019

Trott commented Feb 13, 2019
edited
Loading

Copy link
Copy Markdown
Member Author

Edited the commit message and force-pushed. CI: https://ci.nodejs.org/job/node-test-pull-request/20757/

Comment thread test/parallel/test-assert-deep.js Outdated
Add a test for long strings and assert.notDeepEqual() to cover code that
truncates output when it is longer than 1024 characters.

Trott commented Feb 13, 2019

Copy link
Copy Markdown
Member Author

Trott added the author ready PRs that have at least one approval, no outstanding review comments, and a CI started. label Feb 13, 2019

Trott commented Feb 15, 2019

Copy link
Copy Markdown
Member Author

Landed in 8e68dc5

Trott closed this Feb 15, 2019
Trott added a commit to Trott/io.js that referenced this pull request Feb 15, 2019
Add a test for long strings and assert.notDeepEqual() to cover code that
truncates output when it is longer than 1024 characters.

PR-URL: nodejs#26065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
targos pushed a commit that referenced this pull request Feb 15, 2019
Add a test for long strings and assert.notDeepEqual() to cover code that
truncates output when it is longer than 1024 characters.

PR-URL: #26065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
BridgeAR mentioned this pull request Feb 26, 2019
rvagg pushed a commit that referenced this pull request Feb 28, 2019
Add a test for long strings and assert.notDeepEqual() to cover code that
truncates output when it is longer than 1024 characters.

PR-URL: #26065
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com>
Trott deleted the 1024-coverage branch January 13, 2022 22:51
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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 outstanding review comments, 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.

4 participants


Back | FazBrowse Home | New Git URL