mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-29 05:24:26 +00:00
Fix tests from not compiling
This commit is contained in:
1 parent
f31921e775
commit
08aed29870
1 file changed
+2
-2
@@ -58,13 +58,13 @@ typedef void (^SUDeltaHandler)(NSFileManager *fileManager, NSString *sourceDirec
|
||||
}
|
||||
|
||||
BOOL createdDiff =
|
||||
(createBinaryDelta(sourceDirectory, destinationDirectory, diffFile, majorVersion) == 0);
|
||||
(createBinaryDelta(sourceDirectory, destinationDirectory, diffFile, majorVersion, NO) == 0);
|
||||
|
||||
if (createdDiff && afterDiffHandler != nil) {
|
||||
afterDiffHandler(fileManager, sourceDirectory, destinationDirectory);
|
||||
}
|
||||
|
||||
BOOL appliedDiff = (createdDiff && applyBinaryDelta(sourceDirectory, patchDirectory, diffFile) == 0);
|
||||
BOOL appliedDiff = (createdDiff && applyBinaryDelta(sourceDirectory, patchDirectory, diffFile, NO) == 0);
|
||||
|
||||
XCTAssertTrue([fileManager removeItemAtPath:sourceDirectory error:nil]);
|
||||
XCTAssertTrue([fileManager removeItemAtPath:destinationDirectory error:nil]);
|
||||
|
||||
Reference in new issue
Block a user