Skip to content

Commit

Permalink
test: fix typographical error
Browse files Browse the repository at this point in the history
"Timeouted" to "Timed out"

PR-URL: nodejs#41983
Reviewed-By: Richard Lau <[email protected]>
Reviewed-By: Michaël Zasso <[email protected]>
Reviewed-By: Mestery <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
Trott authored and bengl committed Feb 21, 2022
1 parent 1f27974 commit 8f311a7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion test/parallel/test-http-agent-timeout.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const http = require('http');
}

{
// Ensure that timeouted sockets are not reused.
// Ensure that timed-out sockets are not reused.

const agent = new http.Agent({ keepAlive: true, timeout: 50 });

Expand Down
2 changes: 1 addition & 1 deletion test/sequential/test-tls-psk-client.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const cleanUp = (err) => {
process.exitCode = err ? 1 : 0;
};

const timeout = setTimeout(() => cleanUp('Timeouted'), 5000);
const timeout = setTimeout(() => cleanUp('Timed out'), 5000);

function waitForPort(port, cb) {
const socket = net.connect(common.PORT, () => {
Expand Down

0 comments on commit 8f311a7

Please sign in to comment.