mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-22 16:33:29 +00:00
fix logic error in test
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@37550 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
0809ec6608
commit
7a55fc9773
1 changed files with 2 additions and 3 deletions
|
@ -36,11 +36,10 @@ int main()
|
|||
[associatedObjectTestAllocatedObject new];
|
||||
|
||||
associatedObjectTestAssociatedObject *info =
|
||||
[[associatedObjectTestAssociatedObject new] autorelease];
|
||||
// silence -Wunused-variable
|
||||
[info description];
|
||||
[associatedObjectTestAssociatedObject new];
|
||||
objc_setAssociatedObject(object, &objc_setAssociatedObjectKey, info,
|
||||
OBJC_ASSOCIATION_RETAIN);
|
||||
[info release];
|
||||
[object release];
|
||||
|
||||
PASS(AssociatedObjectDeallocCalled == YES,
|
||||
|
|
Loading…
Reference in a new issue