test: fix comment typo

PR-URL: https://github.com/nodejs/node/pull/38161
Refs: https://github.com/nodejs/node/discussions/36481
Reviewed-By: Matteo Collina <matteo.collina@gmail.com>
Reviewed-By: Jan Krems <jan.krems@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Stephen Belanger <admin@stephenbelanger.com>
Reviewed-By: Gerhard Stöbich <deb2001-github@yahoo.de>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
Rich Trott committed 2021-04-25 01:50:24 -07:00
1 parent e10525f76e
commit 0955aae47a
1 file changed
+1 -1
@@ -16,7 +16,7 @@ function launchTarget(...args) {
const childProc = spawn(process.execPath, args);
return new Promise((resolve, reject) => {
const onExit = () => {
reject(new Error('Child process exits unexpectly'));
reject(new Error('Child process exits unexpectedly'));
};
childProc.on('exit', onExit);
childProc.stderr.setEncoding('utf8');