From 6981e468a3234b3f5439dec8178703a6364cfe03 Mon Sep 17 00:00:00 2001 From: Joshua Haberman Date: Thu, 4 Aug 2011 17:21:24 -0700 Subject: More work on Lua extension, and consequent core refactoring. --- tests/tests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/tests.c') diff --git a/tests/tests.c b/tests/tests.c index 1f64718..fc8e11d 100644 --- a/tests/tests.c +++ b/tests/tests.c @@ -59,7 +59,7 @@ static void test_upb_symtab() { upb_msgdef *m = upb_downcast_msgdef(def); upb_msg_iter i = upb_msg_begin(m); upb_fielddef *f = upb_msg_iter_field(i); - ASSERT(upb_hasdef(f)); + ASSERT(upb_hassubdef(f)); upb_def *def2 = f->def; i = upb_msg_next(m, i); -- cgit v1.2.3