You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Add a lot more tests to indicate that the everything is consistent
Add a test for #390 More special cases
This commit is contained in:
@@ -88,6 +88,12 @@ describe("The 'mset' method", function () {
|
||||
client.get(key, helper.isString(value2));
|
||||
client.get(key2, helper.isString(value, done));
|
||||
});
|
||||
|
||||
it("sets the value correctly with array syntax", function (done) {
|
||||
client.mset([key, value2, key2, value]);
|
||||
client.get([key, helper.isString(value2)]);
|
||||
client.get(key2, helper.isString(value, done));
|
||||
});
|
||||
});
|
||||
|
||||
describe("with undefined 'key' and missing 'value' parameter", function () {
|
||||
|
Reference in New Issue
Block a user