8000 Tweaks by tiennou · Pull Request #587 · libgit2/objective-git · GitHub
[go: up one dir, main page]

Skip to content

Tweaks #587

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 15 commits into from
Nov 26, 2017
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix the pushSHA test
  • Loading branch information
tiennou committed Nov 26, 2017
commit 0e4570bddbedddd32d349ab4d6eabc708f3d78ff
6 changes: 4 additions & 2 deletions 8B4D ObjectiveGitTests/GTEnumeratorSpec.m
Original file line number Diff line number Diff line change
Expand Up @@ -31,10 +31,12 @@
GTReference *HEADRef = [repo headReferenceWithError:NULL];
expect(HEADRef).notTo(beNil());

[enumerator pushSHA:HEADRef.targetOID.SHA error:NULL];
BOOL success = [enumerator pushSHA:HEADRef.targetOID.SHA error:&error];
expect(@(success)).to(beTruthy());
expect(error).to(beNil());

NSUInteger count = [enumerator allObjects].count;
expect(@(count)).to(equal(@3));
expect(error).to(beNil());
});

describe(@"with a rev list", ^{
Expand Down
0