File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Tests/FoundationEssentialsTests/FileManager Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -692,6 +692,9 @@ final class FileManagerTests : XCTestCase {
692692 }
693693
694694 func testResolveSymlinksViaGetAttrList( ) throws {
695+ #if !canImport(Darwin)
696+ throw XCTSkip ( " This test is not applicable on this platform " )
697+ #else
695698 try FileManagerPlayground {
696699 " destination "
697700 } . test {
@@ -700,6 +703,7 @@ final class FileManagerTests : XCTestCase {
700703 let resolved = absolutePath. _resolvingSymlinksInPath ( ) // Call internal function to avoid path standardization
701704 XCTAssertEqual ( resolved, $0. currentDirectoryPath. appendingPathComponent ( " destination " ) . withFileSystemRepresentation { String ( cString: $0!) } )
702705 }
706+ #endif
703707 }
704708
705709 #if os(macOS) && FOUNDATION_FRAMEWORK
You can’t perform that action at this time.
0 commit comments