specta / expecta

A Matcher Framework for Objective-C/Cocoa
MIT License
1.59k stars 158 forks source link

postNotificationTest: Remove deprecated GCD func #161

Closed modocache closed 9 years ago

modocache commented 9 years ago

dispatch_get_current_queue() is deprecated as of OS X 10.9. Luckily, we know XCTest test cases are always run serially on the main queue, so we can replace this call with a simple dispatch_get_main_queue() instead. This fixes a compiler warning.

orta commented 9 years ago

Sounds legit.