summaryrefslogtreecommitdiff
path: root/src/tests/eina/eina_test_value.c
diff options
context:
space:
mode:
authorCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-04-19 16:33:33 +0900
committerCarsten Haitzler (Rasterman) <raster@rasterman.com>2016-04-19 16:33:33 +0900
commit1bf509548c620e48f8fac18e261c4c9278d4a2df (patch)
treef16712513a0fbbac35cb948bc41951507b712a95 /src/tests/eina/eina_test_value.c
parentb48d3eb04e4475cf160deedaa3791834fa67ac9f (diff)
eina value test - gix blob check to check only relevant fields
the value check for blobs was checking unused fields in a union and thats just bad. check only fields that matter to the blob. @fix
Diffstat (limited to 'src/tests/eina/eina_test_value.c')
-rw-r--r--src/tests/eina/eina_test_value.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/eina/eina_test_value.c b/src/tests/eina/eina_test_value.c
index 287a200c0a..48077e6693 100644
--- a/src/tests/eina/eina_test_value.c
+++ b/src/tests/eina/eina_test_value.c
@@ -2401,7 +2401,7 @@ START_TEST(eina_value_test_blob)
2401 fail_unless(eina_value_get(value, &out)); 2401 fail_unless(eina_value_get(value, &out));
2402 fail_unless(out.memory == blob); 2402 fail_unless(out.memory == blob);
2403 fail_unless(out.size == sizeof(blob)); 2403 fail_unless(out.size == sizeof(blob));
2404 fail_unless(memcmp(&in, &out, sizeof(Eina_Value_Blob)) == 0); 2404 fail_unless(memcmp(in.memory, out.memory, in.size) == 0);
2405 2405
2406 str = eina_value_to_string(value); 2406 str = eina_value_to_string(value);
2407 fail_unless(str != NULL); 2407 fail_unless(str != NULL);