diff options
Diffstat (limited to 'UnitTesting/GTMUnitTestingBindingTest.m')
-rw-r--r-- | UnitTesting/GTMUnitTestingBindingTest.m | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/UnitTesting/GTMUnitTestingBindingTest.m b/UnitTesting/GTMUnitTestingBindingTest.m index 19ab5b0..26ae5df 100644 --- a/UnitTesting/GTMUnitTestingBindingTest.m +++ b/UnitTesting/GTMUnitTestingBindingTest.m @@ -102,14 +102,14 @@ NSString *const kGTMKeyThatIsntEqual = @"keyThatIsntEqual"; - (id)valueForKey:(NSString*)binding { if ([binding isEqualTo:kGTMKeyWithNoValue]) { - [NSException raise:NSUndefinedKeyException format:nil]; + [NSException raise:NSUndefinedKeyException format:@""]; } return @"foo"; } - (void)setValue:(id)value forKey:(NSString*)binding { if ([binding isEqualTo:kGTMKeyWeCantSet]) { - [NSException raise:NSUndefinedKeyException format:nil]; + [NSException raise:NSUndefinedKeyException format:@""]; } } @end |