Skip to content

Conversation

@plemarquand
Copy link
Contributor

The InMemoryFilesSystemTests were using withKnownIssue to validate that the file system was throwing errors when expected. This was polluting the test report with tests that appeared to have known issues, but were actually working as intended.

Use #expect(throws:) to validate these functions are throwing the appropriate error as expected.

The `InMemoryFilesSystemTests` were using `withKnownIssue` to validate
that the file system was throwing errors when expected. This was
polluting the test report with tests that appeared to have known issues,
but were actually working as intended.

Use `#expect(throws:)` to validate these functions are throwing the
appropriate error as expected.
@plemarquand
Copy link
Contributor Author

@swift-ci test

@bripeticca
Copy link
Contributor

@swift-ci please test macOS

@plemarquand plemarquand merged commit f13f2a4 into swiftlang:main Dec 11, 2025
44 of 45 checks passed
@plemarquand plemarquand deleted the fixup-in-memory-file-system-tests branch December 11, 2025 17:04
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.

4 participants