Add test with no files in before/after trees

This commit is contained in:
Zorg committed 2015-04-14 01:48:50 -04:00
1 parent 86754e0537
commit 443a6064b3
1 file changed
+7
+7
View File
@@ -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) {