Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

get rid of more not-nice terms #17170

Closed
wants to merge 2 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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]}`);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for being pedantic, but this is a semicolon, not a colon (:) 😄

}

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