mirror of
https://github.com/radareorg/radare2.git
synced 2024-11-27 07:00:30 +00:00
Fix test_idstorage mu_assert warnings (#17565)
This commit is contained in:
parent
ec173d40d6
commit
c9b6149d7b
@ -8,7 +8,7 @@ bool test_r_id_storage_add0(void) {
|
||||
bool success = r_id_storage_add (ids, str, &id);
|
||||
void *ptr = r_id_storage_get (ids, id);
|
||||
r_id_storage_free (ids);
|
||||
mu_assert (success && (ptr == str), "id_storage_add 0");
|
||||
mu_assert ("id_storage_add 0", success && (ptr == str));
|
||||
mu_end;
|
||||
}
|
||||
|
||||
@ -22,7 +22,7 @@ bool test_r_id_storage_add1(void) {
|
||||
r_id_storage_add (ids, str, &id);
|
||||
bool success = r_id_storage_add (ids, str, &id);
|
||||
r_id_storage_free (ids);
|
||||
mu_assert (!success, "id_storage_add 1");
|
||||
mu_assert ("id_storage_add 1", !success);
|
||||
mu_end;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user