summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-04 14:03:41 +0000
committerTom Hacohen <tom@stosb.com>2016-03-04 14:09:34 +0000
commitd72b336f6963afebbfbd75905a0083a250ad1c53 (patch)
tree30498a1262503d58264bbcf746011599a7e37389 /src
parent457c6e43fc056d4da22d0c5329b8a694ba0deab9 (diff)
Eo tests: add more eo_data_get tests.
Diffstat (limited to 'src')
-rw-r--r--src/tests/eo/suite/eo_test_general.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/tests/eo/suite/eo_test_general.c b/src/tests/eo/suite/eo_test_general.c
index b87f37a..c6514cc 100644
--- a/src/tests/eo/suite/eo_test_general.c
+++ b/src/tests/eo/suite/eo_test_general.c
@@ -195,7 +195,9 @@ START_TEST(eo_data_fetch)
195 195
196 obj = eo_add(klass, NULL); 196 obj = eo_add(klass, NULL);
197 fail_if(!obj); 197 fail_if(!obj);
198 fail_if(eo_data_get(obj, klass));
198 fail_if(eo_data_scope_get(obj, klass)); 199 fail_if(eo_data_scope_get(obj, klass));
200 fail_if(!eo_data_scope_get(obj, EO_BASE_CLASS));
199 eo_unref(obj); 201 eo_unref(obj);
200 202
201 eo_shutdown(); 203 eo_shutdown();