summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2023-03-28 15:34:43 -0400
committerTavian Barnes <tavianator@tavianator.com>2023-03-29 12:26:43 -0400
commitba2d4ac206ff1321ea953d3305d8bda048922983 (patch)
tree91c1ab573bb7efe5c273c1e1fd9cef4d8d966473 /tests
parent7888fbababd22190e9f919fc272957426a27969e (diff)
downloadbfs-ba2d4ac206ff1321ea953d3305d8bda048922983.tar.xz
trie: Use list.h for the list of leaves
Diffstat (limited to 'tests')
-rw-r--r--tests/trie.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/tests/trie.c b/tests/trie.c
index c2af18a..65660a9 100644
--- a/tests/trie.c
+++ b/tests/trie.c
@@ -74,8 +74,6 @@ int main(void) {
size_t i = 0;
TRIE_FOR_EACH(&trie, leaf) {
assert(leaf == trie_find_str(&trie, keys[i]));
- assert(!leaf->prev || leaf->prev->next == leaf);
- assert(!leaf->next || leaf->next->prev == leaf);
++i;
}
assert(i == nkeys);