1
0
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:
Salakar
2020-02-07 00:31:08 +00:00
parent 13ec6afe58
commit 9d65e1c3ed
3 changed files with 8 additions and 34 deletions

View File

@@ -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('*');