summaryrefslogtreecommitdiff
path: root/test/parallel/test-event-emitter-once.js
diff options
context:
space:
mode:
Diffstat (limited to 'test/parallel/test-event-emitter-once.js')
-rw-r--r--test/parallel/test-event-emitter-once.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/parallel/test-event-emitter-once.js b/test/parallel/test-event-emitter-once.js
index cca21a454b..724b2ffd16 100644
--- a/test/parallel/test-event-emitter-once.js
+++ b/test/parallel/test-event-emitter-once.js
@@ -12,7 +12,7 @@ e.emit('hello', 'a', 'b');
e.emit('hello', 'a', 'b');
e.emit('hello', 'a', 'b');
-var remove = function() {
+const remove = function() {
common.fail('once->foo should not be emitted');
};