Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
05e6b97b
Unverified
Commit
05e6b97b
authored
Sep 09, 2021
by
Meir Shpilraien (Spielrein)
Committed by
GitHub
Sep 09, 2021
Browse files
Fix RedisModule_Call tests on 32bit (#9481)
parent
3ca6972e
Changes
1
Show whitespace changes
Inline
Side-by-side
tests/modules/basics.c
View file @
05e6b97b
...
@@ -467,7 +467,7 @@ int TestNestedCallReplyArrayElement(RedisModuleCtx *ctx, RedisModuleString **arg
...
@@ -467,7 +467,7 @@ int TestNestedCallReplyArrayElement(RedisModuleCtx *ctx, RedisModuleString **arg
RedisModule_SelectDb
(
ctx
,
1
);
RedisModule_SelectDb
(
ctx
,
1
);
RedisModule_Call
(
ctx
,
"LPUSH"
,
"sc"
,
expect_key
,
"myvalue"
);
RedisModule_Call
(
ctx
,
"LPUSH"
,
"sc"
,
expect_key
,
"myvalue"
);
RedisModuleCallReply
*
scan_reply
=
RedisModule_Call
(
ctx
,
"SCAN"
,
"l"
,
0
);
RedisModuleCallReply
*
scan_reply
=
RedisModule_Call
(
ctx
,
"SCAN"
,
"l"
,
(
long
long
)
0
);
RedisModule_Assert
(
scan_reply
!=
NULL
&&
RedisModule_CallReplyType
(
scan_reply
)
==
REDISMODULE_REPLY_ARRAY
);
RedisModule_Assert
(
scan_reply
!=
NULL
&&
RedisModule_CallReplyType
(
scan_reply
)
==
REDISMODULE_REPLY_ARRAY
);
RedisModule_Assert
(
RedisModule_CallReplyLength
(
scan_reply
)
==
2
);
RedisModule_Assert
(
RedisModule_CallReplyLength
(
scan_reply
)
==
2
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment