mirror of
https://github.com/sparkle-project/Sparkle
synced 2026-11-28 05:14:34 +00:00
Add test with no files in before/after trees
This commit is contained in:
1 parent
86754e0537
commit
443a6064b3
1 file changed
+7
@@ -93,6 +93,13 @@ typedef void (^SUDeltaHandler)(NSFileManager *fileManager, NSString *sourceDirec
|
||||
return [beforeHash isEqualToString:afterHash];
|
||||
}
|
||||
|
||||
- (void)testNoFilesDiff
|
||||
{
|
||||
[self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) {
|
||||
XCTAssertTrue([self testDirectoryHashEqualityWithSource:sourceDirectory destination:destinationDirectory]);
|
||||
}];
|
||||
}
|
||||
|
||||
- (void)testEmptyDataDiff
|
||||
{
|
||||
[self createAndApplyPatchWithHandler:^(NSFileManager *__unused fileManager, NSString *sourceDirectory, NSString *destinationDirectory) {
|
||||
|
||||
Reference in new issue
Block a user