You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
Minor changes
Move utility functions in lib/utils.js Improve the js parser in cases the buffer is incomplete Rename lib/parser to lib/parsers Fix smaller issues with test suite and fix parser errors not being catched Fixed wrong test for the new .end flush parameter Fixed test suite options being partly mutated Add some more tests
This commit is contained in:
@ -88,6 +88,16 @@ describe("The 'set' method", function () {
|
||||
});
|
||||
}, 100);
|
||||
});
|
||||
|
||||
it("sets the value correctly with the array syntax", function (done) {
|
||||
client.set([key, value]);
|
||||
setTimeout(function () {
|
||||
client.get(key, function (err, res) {
|
||||
helper.isString(value)(err, res);
|
||||
done();
|
||||
});
|
||||
}, 100);
|
||||
});
|
||||
});
|
||||
|
||||
describe("with undefined 'key' and missing 'value' parameter", function () {
|
||||
|
Reference in New Issue
Block a user