summaryrefslogtreecommitdiff
path: root/src/tests/function_overrides/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/tests/function_overrides/main.c')
-rw-r--r--src/tests/function_overrides/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tests/function_overrides/main.c b/src/tests/function_overrides/main.c
index 7e9d2e1..af39c67 100644
--- a/src/tests/function_overrides/main.c
+++ b/src/tests/function_overrides/main.c
@@ -30,7 +30,8 @@ main(int argc, char *argv[])
eo_unref(obj);
obj = eo_add(INHERIT2_CLASS, NULL);
- eo_do(obj, inherit2_print());
+ fail_if(!eo_do(obj, inherit2_print()));
+ fail_if(!eo_do(obj, inherit2_print(), inherit2_print()));
eo_unref(obj);
obj = eo_add(SIMPLE_CLASS, NULL);