comment out failing assertion
This commit is contained in:
parent
cdc91700b2
commit
336d8ecbea
5
tests.c
5
tests.c
@ -106,9 +106,8 @@ START_TEST(test_refuse_release_1)
|
|||||||
refuse_release(&refuse, t);
|
refuse_release(&refuse, t);
|
||||||
ck_assert_int_eq(hdr->retainCount, 1);
|
ck_assert_int_eq(hdr->retainCount, 1);
|
||||||
refuse_reconcile(&refuse);
|
refuse_reconcile(&refuse);
|
||||||
// This is not safe, as the memory has been deallocated, but we're
|
// This is not safe, as the memory has been deallocated. How to test?
|
||||||
// in a controlled environment.
|
//ck_assert_int_eq(hdr->retainCount, 0);
|
||||||
ck_assert_int_eq(hdr->retainCount, 0);
|
|
||||||
}
|
}
|
||||||
END_TEST
|
END_TEST
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user