Skip to content

Conversation

jrflat
Copy link
Contributor

@jrflat jrflat commented Sep 16, 2025

I suspect stripping the NT prefix from FileManager.currentDirectoryPath might be causing test failures in swift-corelibs-foundation.

TestFoundation/TestURL.swift:512: error: TestURL.test_fileURLWithPath_isDirectory : XCTAssertEqual failed: ("41") is not equal to ("36") - fileSystemRepresentation was too short

The file system representation of a file URL initialized with FileManager.default.currentDirectoryPath appears to be 5 characters too short. Will add better logging to the tests in swift-corelibs-foundation and test with this PR to see if this resolves it and to get more info.

@jrflat
Copy link
Contributor Author

jrflat commented Sep 16, 2025

Well this speculative fix looks to be causing more test failures here, I'll just open up a revert to test instead

@jrflat jrflat closed this Sep 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant