Skip to content

Commit 4792166

Browse files
committed
Remove __attribute__((objc_precise_lifetime)) from tests
1 parent a3763e4 commit 4792166

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

ObjectiveGitTests/GTOIDSpec.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
const git_oid *git_oid = NULL;
4949

5050
{
51-
GTOID *testOID __attribute__((objc_precise_lifetime)) = [[GTOID alloc] initWithSHA:testSHA];
51+
GTOID *testOID = [[GTOID alloc] initWithSHA:testSHA];
5252
git_oid = testOID.git_oid;
5353
}
5454

ObjectiveGitTests/GTSignatureSpec.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@
4949
const git_signature *git_signature = NULL;
5050

5151
{
52-
GTSignature *testSignature __attribute__((objc_precise_lifetime)) = [[GTSignature alloc] initWithName:name email:email time:time];
52+
GTSignature *testSignature = [[GTSignature alloc] initWithName:name email:email time:time];
5353
git_signature = testSignature.git_signature;
5454
}
5555

0 commit comments

Comments
 (0)