fix tests file and remove the string parsing

master
Guy Korland 5 years ago
parent 79679f66a5
commit 1da361e295

@ -14,8 +14,8 @@ char *rmalloc_strndup(const char *s, size_t n) {
/*
* Re-patching RedisModule_Alloc and friends to the original malloc functions
*
* This function shold be called if you are working with malloc-patched code
* ouside of redis, usually for unit tests. Call it once when entering your unit
* This function should be called if you are working with malloc-patched code
* outside of redis, usually for unit tests. Call it once when entering your unit
* tests' main().
*
* Since including "alloc.h" while defining REDIS_MODULE_TARGET

@ -43,8 +43,8 @@ char *rmalloc_strndup(const char *s, size_t n);
#else
#endif /* REDIS_MODULE_TARGET */
/* This function shold be called if you are working with malloc-patched code
* ouside of redis, usually for unit tests. Call it once when entering your unit
/* This function should be called if you are working with malloc-patched code
* outside of redis, usually for unit tests. Call it once when entering your unit
* tests' main() */
void RMUTil_InitAlloc();

Loading…
Cancel
Save