blob: 8835454f46994a534172dae60d8900eec55c9e43 [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);
});