aboutsummaryrefslogtreecommitdiff
path: root/Foundation/GTMServiceManagementTest.m
diff options
context:
space:
mode:
authorGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-08-27 20:31:02 +0000
committerGravatar gtm.daemon <gtm.daemon@7dc7ac4e-7543-0410-b95c-c1676fc8e2a3>2010-08-27 20:31:02 +0000
commit62962eac5b57c2a5990bfb34f397e972b69e0490 (patch)
tree3a72e3fcd010170954c12aec1d05fb483fd7ee70 /Foundation/GTMServiceManagementTest.m
parent03967f70f2706b7981a12173e14d3160ab6f8d05 (diff)
[Author: dmaclach]
Stupid mixup on my end. R=thomasvl DELTA=3 (1 added, 0 deleted, 2 changed)
Diffstat (limited to 'Foundation/GTMServiceManagementTest.m')
-rw-r--r--Foundation/GTMServiceManagementTest.m5
1 files changed, 3 insertions, 2 deletions
diff --git a/Foundation/GTMServiceManagementTest.m b/Foundation/GTMServiceManagementTest.m
index a0d0c20..1d54b20 100644
--- a/Foundation/GTMServiceManagementTest.m
+++ b/Foundation/GTMServiceManagementTest.m
@@ -129,7 +129,8 @@
STAssertNULL(error, nil);
isGood = GTMSMJobRemove(CFSTR(OUR_JOB_LABEL), &error);
- STAssertTrue(isGood, @"You may need to run launchctl remove %s", OUR_JOB_LABEL);
+ STAssertTrue(isGood,
+ @"You may need to run launchctl remove %s", OUR_JOB_LABEL);
STAssertNULL(error, nil);
isGood = GTMSMJobRemove(CFSTR(OUR_JOB_LABEL), &error);
@@ -144,7 +145,7 @@
// launch, which is too complex at this point. Perhaps
// in the future if bugs are found.
NSDictionary *badTest
- = GTMCFAutorelease(GTMSMJobCheckIn(CFSTR(BAD_JOB_LABEL), &error));
+ = GTMCFAutorelease(GTMSMJobCheckIn(&error));
STAssertNil(badTest, nil);
STAssertNotNULL(error, nil);
CFRelease(error);