forked from enlightenment/efl
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
This commit is contained in:
parent
b48d3eb04e
commit
1bf509548c
|
@ -2401,7 +2401,7 @@ START_TEST(eina_value_test_blob)
|
|||
fail_unless(eina_value_get(value, &out));
|
||||
fail_unless(out.memory == blob);
|
||||
fail_unless(out.size == sizeof(blob));
|
||||
fail_unless(memcmp(&in, &out, sizeof(Eina_Value_Blob)) == 0);
|
||||
fail_unless(memcmp(in.memory, out.memory, in.size) == 0);
|
||||
|
||||
str = eina_value_to_string(value);
|
||||
fail_unless(str != NULL);
|
||||
|
|
Loading…
Reference in New Issue