summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortasn <tasn>2012-07-15 07:56:02 +0000
committertasn <tasn@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>2012-07-15 07:56:02 +0000
commitd20e09c5f1666116a14f0458f0605da3e4e9fd00 (patch)
tree6b93ea7a526397fd8980078b670af5200d54f477
parent4c01eae5f0237359489120ce0adb8e50ea5ead24 (diff)
downloadeobj-d20e09c5f1666116a14f0458f0605da3e4e9fd00.tar.gz
eobj-d20e09c5f1666116a14f0458f0605da3e4e9fd00.tar.bz2
eobj-d20e09c5f1666116a14f0458f0605da3e4e9fd00.zip
Eo: Fixed test case.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/PROTO/eobj@73867 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33
-rw-r--r--src/lib/eo.c2
-rw-r--r--src/tests/eo_suite/eo_test_class_errors.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/eo.c b/src/lib/eo.c
index 3a5a9a6..5d323b1 100644
--- a/src/lib/eo.c
+++ b/src/lib/eo.c
@@ -124,7 +124,7 @@ _dich_chain_alloc(Dich_Chain1 *chain1)
static inline void
_dich_copy_all(Eo_Class *dst, const Eo_Class *src)
{
- Eo_Class_Id i;
+ Eo_Op i;
const Dich_Chain1 *sc1 = src->chain;
Dich_Chain1 *dc1 = dst->chain;
for (i = 0 ; i <= DICH_CHAIN1(src->base_id) ; i++, sc1++, dc1++)
diff --git a/src/tests/eo_suite/eo_test_class_errors.c b/src/tests/eo_suite/eo_test_class_errors.c
index 5b0a705..983ff2c 100644
--- a/src/tests/eo_suite/eo_test_class_errors.c
+++ b/src/tests/eo_suite/eo_test_class_errors.c
@@ -254,13 +254,13 @@ START_TEST(eo_bad_interface)
class_desc.class_constructor = _stub_class_constructor;
klass = eo_class_new(&class_desc, 0, NULL, NULL);
- fail_if(klass);
+ fail_if(!klass);
class_desc.class_constructor = NULL;
class_desc.class_destructor = _stub_class_constructor;
klass = eo_class_new(&class_desc, 0, NULL, NULL);
- fail_if(klass);
+ fail_if(!klass);
class_desc.class_destructor = NULL;