swift-syntax
swift-syntax copied to clipboard
Add diagnostic metadata test for the StaticParserError
This PR adds test coverage to verify the diagnostic ID and severity for an existing StaticParserError.
No functional behavior is changed; this only improves test coverage to help prevent regressions.