From 9e246eadd044936acddb95c957daab053c21b50e Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Sat, 12 Oct 2013 23:56:17 +0200 Subject: [PATCH] eo: cover eo_class_get new behaviour --- src/tests/eo/suite/eo_test_general.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c index a9d0b2f..e2dde96 100644 --- a/src/tests/eo/suite/eo_test_general.c +++ b/src/tests/eo/suite/eo_test_general.c @@ -669,6 +669,8 @@ START_TEST(eo_magic_checks) fail_if(eo_do_super(obj, (const Eo_Class *) buf, EO_NOOP)); fail_if(eo_class_get((Eo *) buf)); fail_if(eo_class_name_get((Eo_Class*) buf)); + fail_if(eo_class_get(obj) != SIMPLE_CLASS); + fail_if(eo_class_get(SIMPLE_CLASS) != EO_CLASS_CLASS); eo_class_funcs_set((Eo_Class *) buf, NULL); eo_do((Eo_Class *) buf, NULL); eo_do_super((Eo_Class *) buf, SIMPLE_CLASS, EO_NOOP); -- 2.7.4