Files
redis/tests/modules
Evan 1ccf2ca2f4 modules: Add newlen == 0 handling to RM_StringTruncate (#3717) (#3718)
Previously, passing 0 for newlen would not truncate the string at all.
This adds handling of this case, freeing the old string and creating a new empty string.

Other changes:
- Move `src/modules/testmodule.c` to `tests/modules/basics.c`
- Introduce that basic test into the test suite
- Add tests to cover StringTruncate
- Add `test-modules` build target for the main makefile
- Extend `distclean` build target to clean modules too
2021-06-22 12:26:48 +03:00
..
2019-12-17 07:49:21 +00:00
2021-01-23 21:53:58 +02:00
2021-01-28 16:19:43 +02:00
2020-11-11 22:57:33 +02:00
2021-02-05 19:54:01 +02:00