Skip to content
This repository has been archived by the owner on Mar 11, 2022. It is now read-only.

Commit

Permalink
Fix off-by-one
Browse files Browse the repository at this point in the history
  • Loading branch information
Tom Blench committed Feb 15, 2018
1 parent d4510d8 commit 9464f2c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -1261,7 +1261,7 @@ -(void) testPushDeleteSomePull
// delete some of the remote docs
// (remote deletes are really slow so we only do a small proportion)
NSLog(@"Deleting remote docs...");
for (int i = 1; i < self.n_docs/10; i++) {
for (int i = 1; i <= self.n_docs/10; i++) {
NSString *docId = [NSString stringWithFormat:@"doc-%i", i];
[self deleteRemoteDocWithId:docId];
}
Expand Down

0 comments on commit 9464f2c

Please sign in to comment.