diff options
Diffstat (limited to 'test/parallel/test-event-emitter-once.js')
-rw-r--r-- | test/parallel/test-event-emitter-once.js | 2 |
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 bbd29c8437..8a7bbbf9bc 100644 --- a/test/parallel/test-event-emitter-once.js +++ b/test/parallel/test-event-emitter-once.js @@ -34,7 +34,7 @@ e.emit('hello', 'a', 'b'); e.emit('hello', 'a', 'b'); const remove = function() { - common.fail('once->foo should not be emitted'); + assert.fail('once->foo should not be emitted'); }; e.once('foo', remove); |