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

Merge pull request #825 from fintura/emitter

Remove event emitters from the parsers
This commit is contained in:
Ruben Bridgewater
2015-09-12 19:15:38 +02:00
4 changed files with 7 additions and 33 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'));