diff options
Diffstat (limited to 'tests/test_def.c')
-rw-r--r-- | tests/test_def.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/tests/test_def.c b/tests/test_def.c index cc766e0..de3bcb2 100644 --- a/tests/test_def.c +++ b/tests/test_def.c @@ -402,6 +402,7 @@ static void test_mapentry_check() { /* Should not have succeeded: non-repeated field pointing to a MapEntry. */ ASSERT(!upb_ok(&s)); + upb_status_clear(&s); upb_fielddef_setlabel(f, UPB_LABEL_REPEATED); upb_symtab_add(symtab, defs, 2, NULL, &s); ASSERT(upb_ok(&s)); |