blob: d2a737fd476aa2872bf4977b569f84ea2d053843 [file] [log] [blame]
// Test a case where blocks wrapped by parentheses were causing the parser to crash
int (^myBlock)(int) = (^(int num) {
return num * multiplier;
});
dispatch_async(thread, (^{
dispatch_async(thread, ^{
dispatch_async(thread, ^{
NSLog(@"Hooray for dispatch_async!");
});
});
}));
// Example of a unit test using Kiwi
beforeAll (^{
NSString *serviceURL = [NSURL URLWithString: @"http://TEST_URL"];
NSLog(serviceURL);
});