Skip to content

Commit 7742257

Browse files
committed
benchmark: Add once() function to net-pipe benchmark fixture
1 parent 854171d commit 7742257

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/net-pipe.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ Writer.prototype.write = function(chunk, encoding, cb) {
2727

2828
// doesn't matter, never emits anything.
2929
Writer.prototype.on = function() {};
30-
30+
Writer.prototype.once = function() {};
3131
Writer.prototype.emit = function() {};
3232

3333
var statCounter = 0;

0 commit comments

Comments
 (0)