diff options
author | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-08-15 01:13:54 +0200 |
---|---|---|
committer | Ekaitz Zarraga <ekaitz@elenq.tech> | 2025-08-15 20:06:11 +0200 |
commit | f76234700febab324f6a4b0eb3cdf449fc732c51 (patch) | |
tree | 21aad9e8b144c99b6ff59b45f45d84f10efc6705 /Makefile | |
parent | 8cbc692173392f329a5105c87b7444d70eaa738e (diff) |
test: piece-table-internals: Add test and pass it
Fixes the optimization that avoids adding a new piece when the addition
happens in the end of the buffer.
Fixes leaks produced in piece_table_optimize
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -10,7 +10,8 @@ HEADERS = $(wildcard src/*.h) TEST := \ piece-table-delete \ - piece-table-insert + piece-table-insert \ + piece-table-internals TEST_FILES = $(addprefix tests/, $(TEST)) TEST_SOURCES = $(addsuffix .c, $(addprefix tests/, $(TEST))) |