From d72b336f6963afebbfbd75905a0083a250ad1c53 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Fri, 4 Mar 2016 14:03:41 +0000 Subject: [PATCH] Eo tests: add more eo_data_get tests. --- 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 b87f37a01c..c6514cca27 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) obj = eo_add(klass, NULL); fail_if(!obj); + fail_if(eo_data_get(obj, klass)); fail_if(eo_data_scope_get(obj, klass)); + fail_if(!eo_data_scope_get(obj, EO_BASE_CLASS)); eo_unref(obj); eo_shutdown();