summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorEkaitz Zarraga <ekaitz@elenq.tech>2025-08-15 01:13:54 +0200
committerEkaitz Zarraga <ekaitz@elenq.tech>2025-08-15 20:06:11 +0200
commitf76234700febab324f6a4b0eb3cdf449fc732c51 (patch)
tree21aad9e8b144c99b6ff59b45f45d84f10efc6705 /Makefile
parent8cbc692173392f329a5105c87b7444d70eaa738e (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--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 7123907..95f3c1e 100644
--- a/Makefile
+++ b/Makefile
@@ -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)))