Revision
3960
Author
martinlagardette@apple.com
Date
2010-04-23 13:42:56 -0700 (Fri, 23 Apr 2010)

Log Message

Alloc KVC specs to pass on 10.6

Use `removeObject:`instead of `removeObjectIdenticalTo:` to compare with `isEqual:` instead of pointer value

Modified Paths

Diff

Modified: MacRuby/trunk/spec/macruby/core/kvc_spec.rb (3959 => 3960)


--- MacRuby/trunk/spec/macruby/core/kvc_spec.rb	2010-04-23 02:19:30 UTC (rev 3959)
+++ MacRuby/trunk/spec/macruby/core/kvc_spec.rb	2010-04-23 20:42:56 UTC (rev 3960)
@@ -90,7 +90,7 @@
   w.valueForKey("kvcOrderedCollection").should == [1, 20, 3, 40, 5, 60, 70, 8]
 
   w.mutableArrayValueForKey("kvcOrderedCollection").removeObjectAtIndex(1)
-  w.mutableArrayValueForKey("kvcOrderedCollection").removeObjectIdenticalTo(40)
+  w.mutableArrayValueForKey("kvcOrderedCollection").removeObject(40)
   w.mutableArrayValueForKey("kvcOrderedCollection").removeObjectsAtIndexes(
       NSIndexSet.indexSetWithIndex(3))
   w.mutableArrayValueForKey("kvcOrderedCollection").removeObjectsInRange(