diff options
Diffstat (limited to 'UnitTesting/GTMNSObject+BindingUnitTesting.m')
-rw-r--r-- | UnitTesting/GTMNSObject+BindingUnitTesting.m | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/UnitTesting/GTMNSObject+BindingUnitTesting.m b/UnitTesting/GTMNSObject+BindingUnitTesting.m index 03d723d..7773542 100644 --- a/UnitTesting/GTMNSObject+BindingUnitTesting.m +++ b/UnitTesting/GTMNSObject+BindingUnitTesting.m @@ -306,11 +306,14 @@ BOOL GTMDoExposedBindingsFunctionCorrectly(NSObject *object, - (NSMutableDictionary*)gtm_unitTestExposedBindingsTestValues:(NSString*)binding { NSMutableDictionary *dict = [super gtm_unitTestExposedBindingsTestValues:binding]; +#if !__LP64__ if ([binding isEqualToString:NSAlignmentBinding]) { // rdar://5851491 - Setting NSAlignmentBinding of search field to NSCenterTextAlignment broken + // This appears to not be a bug in 64 bit. Strange. [dict setObject:[NSNumber numberWithInt:NSNaturalTextAlignment] forKey:[NSNumber numberWithInt:NSCenterTextAlignment]]; } +#endif return dict; } |