-
Notifications
You must be signed in to change notification settings - Fork 469
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
Added support markdown table headers in release tracking markdown files #6566
Added support markdown table headers in release tracking markdown files #6566
Conversation
Codecov Report
Additional details and impacted files@@ Coverage Diff @@
## main #6566 +/- ##
==========================================
- Coverage 96.43% 96.41% -0.02%
==========================================
Files 1372 1374 +2
Lines 320265 320382 +117
Branches 10293 10314 +21
==========================================
+ Hits 308844 308909 +65
- Misses 8967 9005 +38
- Partials 2454 2468 +14 |
@@ -545,8 +545,12 @@ class MyAnalyzer : DiagnosticAnalyzer | |||
[InlineData("", ReleaseTrackingHelper.TableHeaderNewOrRemovedRulesLine1 + BlankLine + "Id1 | Category1 | Warning |")] | |||
// Missing TableHeaderLine1 in unshipped | |||
[InlineData("", ReleaseTrackingHelper.TableTitleNewRules + BlankLine + ReleaseTrackingHelper.TableHeaderNewOrRemovedRulesLine2 + BlankLine + "Id1 | Category1 | Warning |", 2)] | |||
// Missing TableHeaderLine1 in unshipped 2 |
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.
Instead of just having an opaque suffix 2
, can you add a more detailed comment that this is testing the regex matching with xyz aspects of the entry? Same for InlineData additions below.
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, with minor suggestion on improving the comment in added tests. I can merge once you enhance the comments. Thanks!
Addresses issue #5866