1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-07 13:22:56 +03:00

fix bug when callback is undefined

This commit is contained in:
继风
2013-03-27 15:58:50 +08:00
parent b0f7760b19
commit 44526402dc
2 changed files with 3 additions and 1 deletions

View File

@@ -1780,6 +1780,8 @@ tests.OPTIONAL_CALLBACK_UNDEFINED = function () {
client.del("op_cb2");
client.set("op_cb2", "y", undefined);
client.get("op_cb2", last(name, require_string("y", name)));
client.set("op_cb_undefined", undefined, undefined);
};
tests.ENABLE_OFFLINE_QUEUE_TRUE = function () {