Skip to content

Commit

Permalink
feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
velicuvlad committed Aug 5, 2024
1 parent 2187e49 commit 092b286
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion Objective-C/Tests/CollectionTest.m
Original file line number Diff line number Diff line change
Expand Up @@ -952,7 +952,7 @@ - (void) testUseInvalidCollection: (NSString*)collectionName onAction: (void (^)

// get index, get indexes, delete index
[self expectError: CBLErrorDomain code: CBLErrorNotOpen in: ^BOOL(NSError** err) {
return [col indexWithName: @"index1" error: err];
return [col indexWithName: @"index1" error: err] != nil;
}];
[self expectError: CBLErrorDomain code: CBLErrorNotOpen in: ^BOOL(NSError** err) {
return [col indexes: err] != nil;
Expand Down
4 changes: 2 additions & 2 deletions Swift/DatabaseConfiguration.swift
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@ public struct DatabaseConfiguration {
/// Path to the directory to store the database in.
public var directory: String = CBLDatabaseConfiguration().directory

/// As Couchbase Lite normally configures its databases, There is a very
/// As Couchbase Lite normally configures its databases, there is a very
/// small (though non-zero) chance that a power failure at just the wrong
/// time could cause the most recently committed transaction's changes to
/// be lost. This would cause the database to appear as it did immediately
/// before that transaction.
///
/// Setting this mode true ensures that an operating system crash or
/// power failure will not cause the loss of any data. FULL synchronous
/// power failure will not cause the loss of any data. FULL synchronous
/// is very safe but it is also dramatically slower.
public var fullSync: Bool = defaultFullSync

Expand Down

0 comments on commit 092b286

Please sign in to comment.