You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-06 02:15:48 +03:00
doc: add v.3.0.0-alpha1 changelog
This commit is contained in:
@@ -18,7 +18,7 @@ describe('The nodeRedis client', function () {
|
||||
fs.readFile(path.resolve(__dirname, '../lib/individualCommands.js'), 'utf8', function (err, data) {
|
||||
var clientPrototype = data.match(/(\n| = )RedisClient\.prototype.[a-zA-Z_]+/g);
|
||||
var multiPrototype = data.match(/(\n| = )Multi\.prototype\.[a-zA-Z_]+/g);
|
||||
// Check that every entry RedisClient entry has a correspondend Multi entry
|
||||
// Check that every entry RedisClient entry has a correspondent Multi entry
|
||||
assert.strictEqual(clientPrototype.filter(function (entry) {
|
||||
return multiPrototype.indexOf(entry.replace('RedisClient', 'Multi')) === -1;
|
||||
}).length, 3); // multi and batch are included too
|
||||
|
Reference in New Issue
Block a user