mirror of
https://github.com/nodejs/node.git
synced 2026-11-29 14:27:57 -05:00
test: remove unused variable from catch
PR-URL: https://github.com/nodejs/node/pull/23477 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Gireesh Punathil <gpunathi@in.ibm.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
This commit is contained in:
1 parent
e527321a98
commit
b5c698d328
1 file changed
+1
-1
@@ -509,7 +509,7 @@ function isWarned(emitter) {
|
||||
});
|
||||
try {
|
||||
fi.emit('data', 'fooX');
|
||||
} catch (e) { }
|
||||
} catch { }
|
||||
fi.emit('data', 'bar');
|
||||
assert.strictEqual(keys.join(''), 'fooXbar');
|
||||
rli.close();
|
||||
|
||||
Reference in new issue
Block a user