ignoring __MACOSX/

currentFileNumber needs to be incremented even if we `continue`
This commit is contained in:
Antoine Cœur
2017-10-10 19:14:41 +08:00
parent 2886108b12
commit 01d1d9e770
2 changed files with 13 additions and 8 deletions
@@ -240,10 +240,8 @@
NSString *outputPath = [self _cachesPath:@"IncorrectHeaders"];
id<SSZipArchiveDelegate> delegate = [ProgressDelegate new];
__unused BOOL success = [SSZipArchive unzipFileAtPath:zipPath toDestination:outputPath delegate:delegate];
// Temp disabled test, it's unclear if it's supposed to be a success of failure
// as Z_BUF_ERROR is returned for "__MACOSX/IncorrectHeaders/._Readme.txt"
//XCTAssertTrue(success);
BOOL success = [SSZipArchive unzipFileAtPath:zipPath toDestination:outputPath delegate:delegate];
XCTAssertTrue(success);
NSString *intendedReadmeTxtMD5 = @"31ac96301302eb388070c827447290b5";