Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
weichsel committed Aug 17, 2023
1 parent 0e5cf6e commit 2fbe9db
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Tests/ZIPFoundationTests/ZIPFoundationReadingTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,6 @@ extension ZIPFoundationTests {
}
}


func testInvalidCompressionMethodErrorConditions() {
let archive = self.archive(for: #function, mode: .read)
guard let entry = archive[".DS_Store"] else {
Expand Down Expand Up @@ -281,6 +280,7 @@ extension ZIPFoundationTests {
let fileManager = FileManager()
let archive = self.archive(for: #function, mode: .read)
let destinationURL = self.createDirectory(for: #function)
XCTAssertCocoaError(try fileManager.unzipItem(at: archive.url, to: destinationURL), throwsErrorWithCode: .fileReadInvalidFileName)
XCTAssertCocoaError(try fileManager.unzipItem(at: archive.url, to: destinationURL),
throwsErrorWithCode: .fileReadInvalidFileName)
}
}

0 comments on commit 2fbe9db

Please sign in to comment.