diff options
Diffstat (limited to 'AppKit/GTMCarbonEventTest.m')
-rw-r--r-- | AppKit/GTMCarbonEventTest.m | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/AppKit/GTMCarbonEventTest.m b/AppKit/GTMCarbonEventTest.m index a1a8b2b..f7b4d54 100644 --- a/AppKit/GTMCarbonEventTest.m +++ b/AppKit/GTMCarbonEventTest.m @@ -274,7 +274,11 @@ static const UInt32 kTestParameterValue = 'bam '; whenPressed:YES], @"Shouldn't have created hotkey"); #if DEBUG - // This test debug selector validation, so we only can do it in debug. + // This tests debug selector validation, so we only can do it in debug. + [GTMUnitTestDevLogDebug expectPattern:@"RecordedNSAssert in " + @"GTMAssertSelectorNilOrImplementedWithReturnTypeAndArguments - " + @"\"GTMCarbonEventDispatcherHandlerTest\" selector \"badSelector:\" is " + @"unimplemented or misnamed \\(.*/GTMDebugSelectorValidation.h:[0-9]*\\)"]; STAssertThrowsSpecificNamed([dispatcher registerHotKey:0x5 modifiers:keyMods target:self |