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 aqrln committed Nov 22, 2017
1 parent 1cc6b99 commit 7fd8a21
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 7fd8a21

Please sign in to comment.