Skip to content

Commit 1dd1008

Browse files
committed
Skip test_emptyFilename on Windows while we investigate the failure
1 parent af2bcc5 commit 1dd1008

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

Tests/Foundation/TestFileManager.swift

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1259,7 +1259,9 @@ class TestFileManager : XCTestCase {
12591259
#endif // !DEPLOYMENT_RUNTIME_OBJC
12601260

12611261
func test_emptyFilename() {
1262-
1262+
#if os(Windows)
1263+
throw XCTSkip("This test is disabled while we investigate why it's failing on Windows.")
1264+
#else
12631265
// Some of these tests will throw an NSException on Darwin which would be normally be
12641266
// modelled by a fatalError() or other hard failure, however since most of these functions
12651267
// are throwable, an NSError is thrown instead which is more useful.
@@ -1398,6 +1400,7 @@ class TestFileManager : XCTestCase {
13981400

13991401
// Not Implemented - XCTAssertNil(fm.componentsToDisplay(forPath: ""))
14001402
// Not Implemented - XCTAssertEqual(fm.displayName(atPath: ""), "")
1403+
#endif // os(Windows)
14011404
}
14021405

14031406
func test_getRelationship() throws {

0 commit comments

Comments
 (0)