You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
tests: fix buffer test (failed due to new parser) & remove unused node feature checks (< 4)
This commit is contained in:
@@ -524,6 +524,8 @@ describe('publish/subscribe', function () {
|
||||
assert.strictEqual(channel.inspect(), new Buffer('/foo').inspect());
|
||||
sub.quit(end);
|
||||
});
|
||||
// Either message_buffers or buffers has to be true, but not both at the same time
|
||||
assert.notStrictEqual(sub.message_buffers, sub.buffers);
|
||||
});
|
||||
var batch = sub.batch();
|
||||
batch.psubscribe('*');
|
||||
|
Reference in New Issue
Block a user