Skip to content

Commit 0963c75

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 3f39e47 commit 0963c75

File tree

5 files changed

+5
-5
lines changed

5 files changed

+5
-5
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ switch (process.argv[2]) {
99
case 'child':
1010
return child();
1111
default:
12-
throw new Error('wtf?');
12+
throw new Error('invalid');
1313
}
1414

1515
function parent() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ switch (process.argv[2]) {
1616
case undefined:
1717
return parent();
1818
default:
19-
throw new Error('wtf');
19+
throw new Error('invalid');
2020
}
2121

2222
function child1() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ switch (process.argv[2]) {
99
case undefined:
1010
return parent();
1111
default:
12-
throw new Error(`wtf? ${process.argv[2]}`);
12+
throw new Error(`invalid: ${process.argv[2]}`);
1313
}
1414

1515
function parent() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ switch (process.argv[2]) {
88
case undefined:
99
return parent();
1010
default:
11-
throw new Error('wtf');
11+
throw new Error('invalid');
1212
}
1313

1414
function parent() {

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ switch (process.argv[2]) {
1414
case 'server': return server();
1515
case 'client': return client();
1616
case undefined: return parent();
17-
default: throw new Error('wtf');
17+
default: throw new Error('invalid');
1818
}
1919

2020
function server() {

0 commit comments

Comments
 (0)