Made the item prototype test in the CPCollectionView test check for identity instead of equality

This commit is contained in:
Andreas Falk
2009-10-16 14:34:49 -07:00
committed by Ross Boucher
parent ea252323d2
commit ea15b247d3
+1 -1
View File
@@ -16,7 +16,7 @@
var itemPrototype = [[CPCollectionViewItem alloc] init];
[_collectionView setItemPrototype:itemPrototype];
[self assert:[CPCollectionViewItem class] equals:[[_collectionView itemPrototype] class]];
[self assert:itemPrototype same:[_collectionView itemPrototype]];
}
- (void)testIsSelectableActuallyReturnsSelectableStatus