1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

Remove event emitters from the parser as they are overhead that is not needed

This commit is contained in:
Ruben Bridgewater
2015-09-05 17:10:27 +02:00
parent 75b3fdb495
commit 0170145f74
4 changed files with 8 additions and 39 deletions

View File

@@ -11,7 +11,7 @@ describe('javascript parser', function () {
assert.deepEqual(reply, [['a']], "Expecting multi-bulk reply of [['a']]");
reply_count++;
}
parser.on("reply", check_reply);
parser.send_reply = check_reply;
parser.execute(new Buffer('*1\r\n*1\r\n$1\r\na\r\n'));