Skip to content

Commit 72e480d

Browse files
devsnekMylesBorins
authored andcommitted
test: clean up inappropriate language
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]>
1 parent 6887016 commit 72e480d

5 files changed

+5
-5
lines changed

test/parallel/test-child-process-stdio-big-write-end.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ switch (process.argv[2]) {
3030
case 'child':
3131
return child();
3232
default:
33-
throw new Error('wtf?');
33+
throw new Error('invalid');
3434
}
3535

3636
function parent() {

test/parallel/test-process-exit-code.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ switch (process.argv[2]) {
3737
case undefined:
3838
return parent();
3939
default:
40-
throw new Error('wtf');
40+
throw new Error('invalid');
4141
}
4242

4343
function child1() {

test/parallel/test-process-raw-debug.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ switch (process.argv[2]) {
3030
case undefined:
3131
return parent();
3232
default:
33-
throw new Error(`wtf? ${process.argv[2]}`);
33+
throw new Error(`invalid: ${process.argv[2]}`);
3434
}
3535

3636
function parent() {

test/parallel/test-repl-syntax-error-handling.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ switch (process.argv[2]) {
2929
case undefined:
3030
return parent();
3131
default:
32-
throw new Error('wtf');
32+
throw new Error('invalid');
3333
}
3434

3535
function parent() {

test/sequential/test-net-GH-5504.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ switch (process.argv[2]) {
3737
case 'server': return server();
3838
case 'client': return client();
3939
case undefined: return parent();
40-
default: throw new Error('wtf');
40+
default: throw new Error('invalid');
4141
}
4242

4343
function server() {

0 commit comments

Comments
 (0)