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 {
692
692
}
693
693
694
694
func testResolveSymlinksViaGetAttrList( ) throws {
695
+ #if !canImport(Darwin)
696
+ throw XCTSkip ( " This test is not applicable on this platform " )
697
+ #else
695
698
try FileManagerPlayground {
696
699
" destination "
697
700
} . test {
@@ -700,6 +703,7 @@ final class FileManagerTests : XCTestCase {
700
703
let resolved = absolutePath. _resolvingSymlinksInPath ( ) // Call internal function to avoid path standardization
701
704
XCTAssertEqual ( resolved, $0. currentDirectoryPath. appendingPathComponent ( " destination " ) . withFileSystemRepresentation { String ( cString: $0!) } )
702
705
}
706
+ #endif
703
707
}
704
708
705
709
#if os(macOS) && FOUNDATION_FRAMEWORK
You can’t perform that action at this time.
0 commit comments