Skip to content

Commit a78ebd0

Browse files
committed
Give up and use beFalsy()
1 parent d810351 commit a78ebd0

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

ObjectiveGitTests/GTRemotePushSpec.m

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
notBareRepo = self.bareFixtureRepository;
5454
expect(notBareRepo).notTo(beNil());
5555
// This repo is not really "bare" according to libgit2
56-
expect(@(notBareRepo.isBare)).to(beFalse());
56+
expect(@(notBareRepo.isBare)).to(beFalsy());
5757
});
5858

5959
describe(@"to remote", ^{ // via local transport
@@ -141,7 +141,7 @@
141141
}];
142142
expect(error).to(beNil());
143143
expect(@(result)).to(beTruthy());
144-
expect(@(transferProgressed)).to(beFalse()); // Local transport doesn't currently call progress callbacks
144+
expect(@(transferProgressed)).to(beFalsy()); // Local transport doesn't currently call progress callbacks
145145

146146
// Same number of commits after push, refresh branch first
147147
remoteMasterBranch = localBranchWithName(@"master", remoteRepo);
@@ -178,7 +178,7 @@
178178
}];
179179
expect(error).to(beNil());
180180
expect(@(result)).to(beTruthy());
181-
expect(@(transferProgressed)).to(beFalse()); // Local transport doesn't currently call progress callbacks
181+
expect(@(transferProgressed)).to(beFalsy()); // Local transport doesn't currently call progress callbacks
182182

183183
// Number of commits on tracking branch after push
184184
localTrackingBranch = [masterBranch trackingBranchWithError:&error success:&success];

0 commit comments

Comments
 (0)