1
0
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:
Ruben Bridgewater
2017-05-06 02:09:32 +02:00
parent 2e7fc76720
commit 5d29f541e9
2 changed files with 22 additions and 1 deletions

View File

@@ -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