Home
last modified time | relevance | path

Searched refs:TestAssertStringReply (Results 1 – 1 of 1) sorted by relevance

/f-stack/app/redis-5.0.5/src/modules/
H A Dtestmodule.c310 int TestAssertStringReply(RedisModuleCtx *ctx, RedisModuleCallReply *reply, char *str, size_t len) { in TestAssertStringReply() function
368 if (!TestAssertStringReply(ctx,reply,"PONG",4)) goto fail; in TestIt()
371 if (!TestAssertStringReply(ctx,reply,"OK",2)) goto fail; in TestIt()
374 if (!TestAssertStringReply(ctx,reply,"OK",2)) goto fail; in TestIt()
377 if (!TestAssertStringReply(ctx,reply,"foobar",6)) goto fail; in TestIt()
380 if (!TestAssertStringReply(ctx,reply,"OK",2)) goto fail; in TestIt()
383 if (!TestAssertStringReply(ctx,reply,"foobar",6)) goto fail; in TestIt()
386 if (!TestAssertStringReply(ctx,reply,"Got 3 args. argv[1]: foo, argv[2]: bar",38)) goto fail; in TestIt()
389 if (!TestAssertStringReply(ctx,reply,"OK",2)) goto fail; in TestIt()