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 <[email protected]>
Reviewed-By: Gireesh Punathil <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Timothy Gu <[email protected]>
Reviewed-By: Franziska Hinkelmann <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Daniel Bevenius <[email protected]>
Reviewed-By: Anatoli Papirovski <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Michael Dawson <[email protected]>
  • 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.