diff --git a/test/test.m b/test/test.m index fe44766e..7bb33638 100644 --- a/test/test.m +++ b/test/test.m @@ -58,25 +58,7 @@ int main(int argc, char *argv[]) { ChildMO *lisa = [ChildMO insertInManagedObjectContext:moc]; lisa.humanName = lisa.childName = @"lisa"; [lisa setIvar:1.0]; - -#if 0 - /* Unforunately this section raises the following internal exception on 10.8.0/Xcode 4.5-DP4: - 2012-08-30 16:01:12.351 test[15090:707] *** Terminating app due to uncaught exception 'NSInvalidArgumentException', reason: '*** -[NSSet intersectsSet:]: set argument is not an NSSet' - *** First throw call stack: - ( - 0 CoreFoundation 0x00007fff8c9b1716 __exceptionPreprocess + 198 - 1 libobjc.A.dylib 0x00007fff94dee470 objc_exception_throw + 43 - 2 CoreFoundation 0x00007fff8ca4b21f -[NSSet intersectsSet:] + 927 - 3 Foundation 0x00007fff8e502085 NSKeyValueWillChangeBySetMutation + 359 - 4 Foundation 0x00007fff8e5549d0 NSKeyValueWillChange + 379 - 5 Foundation 0x00007fff8e501f0f -[NSObject(NSKeyValueObserverNotification) willChangeValueForKey:withSetMutation:usingObjects:] + 318 - 6 CoreData 0x00007fff95e697e5 _sharedIMPL_addObjectToSet_core + 165 - 7 test 0x000000010d44ee6e main + 2606 - 8 libdyld.dylib 0x00007fff977127e1 start + 0 - ) - libc++abi.dylib: terminate called throwing an exception - Abort trap: 6 - */ + [homer addChildrenObject:bart]; [homer addChildrenObject:lisa]; [marge addChildrenObject:bart]; @@ -84,7 +66,6 @@ int main(int argc, char *argv[]) { NSCAssert([homer.children count] == 2, nil); NSCAssert([marge.children count] == 2, nil); -#endif //--