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

Commit 9464f2c

Browse files
author
Tom Blench
committed
Fix off-by-one
1 parent d4510d8 commit 9464f2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

CDTDatastoreReplicationAcceptanceTests/ReplicationAcceptance.m

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1261,7 +1261,7 @@ -(void) testPushDeleteSomePull
12611261
// delete some of the remote docs
12621262
// (remote deletes are really slow so we only do a small proportion)
12631263
NSLog(@"Deleting remote docs...");
1264-
for (int i = 1; i < self.n_docs/10; i++) {
1264+
for (int i = 1; i <= self.n_docs/10; i++) {
12651265
NSString *docId = [NSString stringWithFormat:@"doc-%i", i];
12661266
[self deleteRemoteDocWithId:docId];
12671267
}

0 commit comments

Comments
 (0)