Skip to content

Commit 000f287

Browse files
committed
Use beTruthy() instead of beTrue()
1 parent 63c995b commit 000f287

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ObjectiveGitTests/GTRemotePushSpec.m

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@
164164
BOOL success = NO;
165165
GTBranch *localTrackingBranch = [masterBranch trackingBranchWithError:&error success:&success];
166166
expect(error).to(beNil());
167-
expect(@(success)).to(beTrue());
167+
expect(@(success)).to(beTruthy());
168168
expect(@([localTrackingBranch numberOfCommitsWithError:NULL])).to(equal(@3));
169169

170170
// Number of commits on remote before push
@@ -183,7 +183,7 @@
183183
// Number of commits on tracking branch after push
184184
localTrackingBranch = [masterBranch trackingBranchWithError:&error success:&success];
185185
expect(error).to(beNil());
186-
expect(@(success)).to(beTrue());
186+
expect(@(success)).to(beTruthy());
187187
expect(@([localTrackingBranch numberOfCommitsWithError:NULL])).to(equal(@4));
188188

189189
// Refresh remote master branch to ensure the commit count is accurate

0 commit comments

Comments
 (0)