cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4489e7520e96b68d98c9210dd871a794a15ce8ea

commit 4489e7520e96b68d98c9210dd871a794a15ce8ea
Author: Cedric BAIL <ced...@osg.samsung.com>
Date:   Mon Dec 19 12:04:48 2016 -0800

    eina: correctly compar double in eina xattr test.
---
 src/tests/eina/eina_test_xattr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/eina/eina_test_xattr.c b/src/tests/eina/eina_test_xattr.c
index 858c6b5..17ecb3c 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)
    fail_if(ret != EINA_TRUE);
    ret = eina_xattr_double_get(test_file_path, double_attr, &double_ret);
    fail_if(ret != EINA_TRUE);
-   fail_if(double_data != double_ret);
+   fail_if(!EINA_DBL_CMP(double_data, double_ret));
 
    close(fd);
    unlink(test_file_path);

-- 


Reply via email to