summaryrefslogtreecommitdiff
path: root/test/fixtures/catch-stdout-error.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/fixtures/catch-stdout-error.js')
-rw-r--r--test/fixtures/catch-stdout-error.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/fixtures/catch-stdout-error.js b/test/fixtures/catch-stdout-error.js
index bdd09b5ab8..5e30326bf9 100644
--- a/test/fixtures/catch-stdout-error.js
+++ b/test/fixtures/catch-stdout-error.js
@@ -22,7 +22,7 @@
function write() {
try {
process.stdout.write('Hello, world\n');
- } catch (ex) {
+ } catch {
throw new Error('this should never happen');
}
setImmediate(function() {