From ea15b247d328a7c45edaefd263eec1d74b1d6f13 Mon Sep 17 00:00:00 2001 From: Andreas Falk Date: Sat, 10 Oct 2009 00:17:40 +0200 Subject: [PATCH] Made the item prototype test in the CPCollectionView test check for identity instead of equality --- Tests/AppKit/CPCollectionViewTest.j | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Tests/AppKit/CPCollectionViewTest.j b/Tests/AppKit/CPCollectionViewTest.j index 485a8a4c8..220ca42df 100644 --- a/Tests/AppKit/CPCollectionViewTest.j +++ b/Tests/AppKit/CPCollectionViewTest.j @@ -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