summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCedric BAIL <cedric@osg.samsung.com>2016-12-19 12:04:48 -0800
committerCedric BAIL <cedric@osg.samsung.com>2016-12-19 16:33:46 -0800
commit4489e7520e96b68d98c9210dd871a794a15ce8ea (patch)
treebb35522aae5ce781d8ce36c4c98ebfa8ee6db1a7 /src
parenta7e0f26e1b5213cba83317ee12549ecdd758ee83 (diff)
eina: correctly compar double in eina xattr test.
Diffstat (limited to 'src')
-rw-r--r--src/tests/eina/eina_test_xattr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/eina/eina_test_xattr.c b/src/tests/eina/eina_test_xattr.c
index 858c6b552b..17ecb3c322 100644
--- a/src/tests/eina/eina_test_xattr.c
+++ b/src/tests/eina/eina_test_xattr.c
@@ -283,7 +283,7 @@ START_TEST(eina_test_xattr_types)
283 fail_if(ret != EINA_TRUE); 283 fail_if(ret != EINA_TRUE);
284 ret = eina_xattr_double_get(test_file_path, double_attr, &double_ret); 284 ret = eina_xattr_double_get(test_file_path, double_attr, &double_ret);
285 fail_if(ret != EINA_TRUE); 285 fail_if(ret != EINA_TRUE);
286 fail_if(double_data != double_ret); 286 fail_if(!EINA_DBL_CMP(double_data, double_ret));
287 287
288 close(fd); 288 close(fd);
289 unlink(test_file_path); 289 unlink(test_file_path);