File tree Expand file tree Collapse file tree
Tests/NIOFSIntegrationTests Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -72,6 +72,9 @@ final class FileSystemTests: XCTestCase {
7272
7373
7474 func testSetLastAccessAndDataModificationTimes( ) async throws {
75+ #if os(Windows)
76+ throw XCTSkip ( " setTimes is not available on Windows " )
77+ #endif
7578 let path = try await self . fs. temporaryFilePath ( )
7679 try await self . fs. withFileHandle ( forWritingAt: path, options: . newFile( replaceExisting: false ) ) { _ in }
7780
@@ -94,6 +97,9 @@ final class FileSystemTests: XCTestCase {
9497 }
9598
9699 func testSetLastAccessTime( ) async throws {
100+ #if os(Windows)
101+ throw XCTSkip ( " setTimes is not available on Windows " )
102+ #endif
97103 let path = try await self . fs. temporaryFilePath ( )
98104 try await self . fs. withFileHandle ( forWritingAt: path, options: . newFile( replaceExisting: false ) ) { _ in }
99105
@@ -111,6 +117,9 @@ final class FileSystemTests: XCTestCase {
111117 }
112118
113119 func testSetLastDataModificationTime( ) async throws {
120+ #if os(Windows)
121+ throw XCTSkip ( " setTimes is not available on Windows " )
122+ #endif
114123 let path = try await self . fs. temporaryFilePath ( )
115124 try await self . fs. withFileHandle ( forWritingAt: path, options: . newFile( replaceExisting: false ) ) { _ in }
116125
You can’t perform that action at this time.
0 commit comments