Skip to content

Commit

Permalink
Test file attribute code paths on non-Darwin platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
weichsel committed Dec 23, 2024
1 parent 1e87aff commit cfc91b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Tests/ZIPFoundationTests/ZIPFoundationTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -251,7 +251,9 @@ extension ZIPFoundationTests {
("testUnzipItemErrorConditions", testUnzipItemErrorConditions),
("testUnzipUncontainedSymlink", testUnzipUncontainedSymlink),
("testZipItem", testZipItem),
("testLinuxTestSuiteIncludesAllTests", testLinuxTestSuiteIncludesAllTests)
("testLinuxTestSuiteIncludesAllTests", testLinuxTestSuiteIncludesAllTests),
("testFileModificationDate", testFileModificationDate),
("testFileModificationDateHelperMethods", testFileModificationDateHelperMethods)
] + zip64Tests + darwinOnlyTests + swift5OnlyTests
}

Expand Down Expand Up @@ -294,8 +296,6 @@ extension ZIPFoundationTests {
static var darwinOnlyTests: [(String, (ZIPFoundationTests) -> () throws -> Void)] {
#if os(macOS) || os(iOS) || os(tvOS) || os(visionOS) || os(watchOS)
return [
("testFileModificationDate", testFileModificationDate),
("testFileModificationDateHelperMethods", testFileModificationDateHelperMethods),
("testZipItemProgress", testZipItemProgress),
("testUnzipItemProgress", testUnzipItemProgress),
("testConsistentBehaviorWithSystemZIPUtilities", testConsistentBehaviorWithSystemZIPUtilities),
Expand Down

0 comments on commit cfc91b3

Please sign in to comment.