-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Add test coverage for issue #99193 #119384
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR adds test coverage for issue #99193 related to RFC 822 date parsing in System.ServiceModel.Syndication. The tests specifically focus on handling single-digit days and two-digit years in RSS 2.0 item formatters, which appears to be a bug that will be fixed in a separate PR (#99194).
Key Changes
- Added comprehensive test coverage for RFC 822 date parsing edge cases
- Tests cover single-digit days, two-digit years, and various timezone formats
- Tests are specifically designed to skip on .NET Framework due to different parsing requirements
Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| src/libraries/System.ServiceModel.Syndication/tests/System/ServiceModel/Syndication/Rfc822DateParsingTests.cs | New test file containing comprehensive RFC 822 date parsing tests for edge cases |
| src/libraries/System.ServiceModel.Syndication/tests/System.ServiceModel.Syndication.Tests.csproj | Added the new test file to the project compilation list |
|
/backport to release/10.0 |
|
Started backporting to release/10.0: https://github.com/dotnet/runtime/actions/runs/17996491135 |
…meFormat.Calendar.TwoDigitYearMax
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Add test for issue #99193
Will fail if merged before fix (PR #99194)