File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,9 +113,9 @@ Expecta is framework-agnostic. It works well with OCUnit (SenTestingKit) and OCU
113
113
>
114
114
> ` expect(x).to.respondTo(y); ` passes if ` x ` responds to the selector ` y ` .
115
115
>
116
- > ` expect( /* code */ ).to.notify(@"NotificationName"); ` passes if a given block of code generates an NSNotification named ` NotificationName ` .
116
+ > ` expect(^{ /* code */ } ).to.notify(@"NotificationName"); ` passes if a given block of code generates an NSNotification named ` NotificationName ` .
117
117
>
118
- > ` expect( /* code */ ).to.notify(notification); ` passes if a given block of code generates an NSNotification equal to the passed ` notification ` .
118
+ > ` expect(^{ /* code */ } ).to.notify(notification); ` passes if a given block of code generates an NSNotification equal to the passed ` notification ` .
119
119
>
120
120
> ` expect(x).to.beginWith(y); ` passes if an instance of NSString, NSArray, or NSOrderedSet ` x ` begins with ` y ` . Also aliased by ` startWith `
121
121
>
You can’t perform that action at this time.
0 commit comments