aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Foundation/GTMNSThread+BlocksTest.m2
1 files changed, 1 insertions, 1 deletions
diff --git a/Foundation/GTMNSThread+BlocksTest.m b/Foundation/GTMNSThread+BlocksTest.m
index 5eeb186..b7e0cdb 100644
--- a/Foundation/GTMNSThread+BlocksTest.m
+++ b/Foundation/GTMNSThread+BlocksTest.m
@@ -316,7 +316,7 @@ static const int kThreadMethoduSleep = 10000;
- (void)testPThreadName {
NSString *testName = @"InigoMontoya";
[workerThread_ setName:testName];
- [workerThread_ gtm_performWaitingUntilDone:NO block:^{
+ [workerThread_ gtm_performWaitingUntilDone:YES block:^{
XCTAssertEqualObjects([workerThread_ name], testName);
char threadName[100];
pthread_getname_np(pthread_self(), threadName, 100);