Skip to content

Commit

Permalink
test: clean up inappropriate language
Browse files Browse the repository at this point in the history
PR-URL: #17170
Reviewed-By: Alexey Orlenko <eaglexrlnk@gmail.com>
Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Reviewed-By: Franziska Hinkelmann <franziska.hinkelmann@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Reviewed-By: Anatoli Papirovski <apapirovski@mac.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Michael Dawson <michael_dawson@ca.ibm.com>
  • Loading branch information
devsnek authored and MylesBorins committed Dec 12, 2017
1 parent 6887016 commit 72e480d
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion test/parallel/test-child-process-stdio-big-write-end.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ switch (process.argv[2]) {
case 'child':
return child();
default:
throw new Error('wtf?');
throw new Error('invalid');
}

function parent() {
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-process-exit-code.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ switch (process.argv[2]) {
case undefined:
return parent();
default:
throw new Error('wtf');
throw new Error('invalid');
}

function child1() {
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-process-raw-debug.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ switch (process.argv[2]) {
case undefined:
return parent();
default:
throw new Error(`wtf? ${process.argv[2]}`);
throw new Error(`invalid: ${process.argv[2]}`);
}

function parent() {
Expand Down
2 changes: 1 addition & 1 deletion test/parallel/test-repl-syntax-error-handling.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ switch (process.argv[2]) {
case undefined:
return parent();
default:
throw new Error('wtf');
throw new Error('invalid');
}

function parent() {
Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-net-GH-5504.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ switch (process.argv[2]) {
case 'server': return server();
case 'client': return client();
case undefined: return parent();
default: throw new Error('wtf');
default: throw new Error('invalid');
}

function server() {
Expand Down

0 comments on commit 72e480d

Please sign in to comment.