Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 4 additions & 0 deletions ObjectiveGitTests/QuickSpec+GTFixtures.m
Original file line number Diff line number Diff line change
Expand Up @@ -94,6 +94,10 @@ - (void)setUpRepositoryFixtureIfNeeded:(NSString *)repositoryName {
error = nil;
success = [self unzipFromArchiveAtPath:zippedRepositoriesPath intoDirectory:cleanRepositoryPath error:&error];
XCTAssertTrue(success, @"Couldn't unzip fixture \"%@\" from %@ to %@: %@", repositoryName, zippedRepositoriesPath, cleanRepositoryPath, error);
if (!success) {
[NSFileManager.defaultManager removeItemAtPath:cleanRepositoryPath error:NULL];
return;
}
}

success = [[NSFileManager defaultManager] copyItemAtPath:[cleanRepositoryPath stringByAppendingPathComponent:repositoryName] toPath:path error:&error];
Expand Down
Binary file modified ObjectiveGitTests/fixtures/fixtures.zip
Binary file not shown.
Loading