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: use expectsError in test-debug-agent.js #11410

Closed

Conversation

notarseniy
Copy link
Contributor

Use common.expectsError() in place of inline validation function in
test-debug-agent.js.

like #11409 #11408

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 errors debugger

Use common.expectsError() in place of inline validation function in
test-debug-agent.js.
@nodejs-github-bot nodejs-github-bot added the test Issues and PRs related to the tests. label Feb 16, 2017
@hiroppy hiroppy added the errors Issues and PRs related to JavaScript errors originated in Node.js core. label Feb 16, 2017
@mscdex mscdex added debugger errors Issues and PRs related to JavaScript errors originated in Node.js core. and removed errors Issues and PRs related to JavaScript errors originated in Node.js core. labels Feb 16, 2017
@ChALkeR
Copy link
Member

ChALkeR commented Feb 16, 2017

@targos
Copy link
Member

targos commented Feb 18, 2017

Landed in ca37ec0

@targos targos closed this Feb 18, 2017
targos pushed a commit that referenced this pull request Feb 18, 2017
Use common.expectsError() in place of inline validation function in
test-debug-agent.js.

PR-URL: #11410
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@notarseniy
Copy link
Contributor Author

yay! thanks, first [landed] contribution! :−)

italoacasas pushed a commit to italoacasas/node that referenced this pull request Feb 25, 2017
Use common.expectsError() in place of inline validation function in
test-debug-agent.js.

PR-URL: nodejs#11410
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
@italoacasas italoacasas mentioned this pull request Feb 25, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
errors Issues and PRs related to JavaScript errors originated in Node.js core. test Issues and PRs related to the tests.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

8 participants