cedric pushed a commit to branch master. http://git.enlightenment.org/core/efl.git/commit/?id=a7e0f26e1b5213cba83317ee12549ecdd758ee83
commit a7e0f26e1b5213cba83317ee12549ecdd758ee83 Author: Cedric BAIL <[email protected]> Date: Mon Dec 19 12:04:24 2016 -0800 eio: correctly compar double in xattr test. --- src/tests/eio/eio_test_xattr.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tests/eio/eio_test_xattr.c b/src/tests/eio/eio_test_xattr.c index b4a843e..4fdbfc9 100644 --- a/src/tests/eio/eio_test_xattr.c +++ b/src/tests/eio/eio_test_xattr.c @@ -115,7 +115,7 @@ _done_int_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, int xattr_in static void _done_double_cb(void *data EINA_UNUSED, Eio_File *handler EINA_UNUSED, double xattr_double) { - fail_if(xattr_double != double_data); + fail_if(!EINA_DBL_CMP(xattr_double, double_data)); ecore_main_loop_quit(); } --
