diff options
Diffstat (limited to 'upb_table.c')
-rw-r--r-- | upb_table.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/upb_table.c b/upb_table.c index 75fa266..1edf676 100644 --- a/upb_table.c +++ b/upb_table.c @@ -173,6 +173,7 @@ static void strinsert(struct upb_strtable *t, struct upb_strtable_entry *e) } memcpy(table_e, e, t->t.entry_size); table_e->next = UPB_END_OF_CHAIN; + assert(upb_strtable_lookup(t, &e->key) == table_e); } void upb_strtable_insert(struct upb_strtable *t, struct upb_strtable_entry *e) |