We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f3d8e35 commit 0e4570bCopy full SHA for 0e4570b
ObjectiveGitTests/GTEnumeratorSpec.m
@@ -31,10 +31,12 @@
31
GTReference *HEADRef = [repo headReferenceWithError:NULL];
32
expect(HEADRef).notTo(beNil());
33
34
- [enumerator pushSHA:HEADRef.targetOID.SHA error:NULL];
+ BOOL success = [enumerator pushSHA:HEADRef.targetOID.SHA error:&error];
35
+ expect(@(success)).to(beTruthy());
36
+ expect(error).to(beNil());
37
+
38
NSUInteger count = [enumerator allObjects].count;
39
expect(@(count)).to(equal(@3));
- expect(error).to(beNil());
40
});
41
42
describe(@"with a rev list", ^{
0 commit comments