Skip to content
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

Cleanup some remaining traits in some tests. #66785

Merged
merged 4 commits into from
Feb 9, 2023

Conversation

CyrusNajmabadi
Copy link
Member

No description provided.

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner February 9, 2023 20:26
@@ -32,10 +32,11 @@
namespace Microsoft.CodeAnalysis.Editor.CSharp.UnitTests.Formatting.Indentation
{
[UseExportProvider]
[Trait(Traits.Feature, Traits.Features.Formatting)]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💭 Maybe just SmartTokenFormatting was meant here?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

honestly, i would remove the disparate traits here and just go with one. When i'm genuinely testing formatting, i always want to run all of these. :)

@@ -595,6 +589,7 @@ void OtherTypeMethod()
[InlineData("FixAllInContainingMember")]
[InlineData("FixAllInContainingType")]
[Trait(Traits.Feature, Traits.Features.CodeActionsAddBraces)]
[Trait(Traits.Feature, Traits.Features.CodeActionsAddBraces)]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This duplication doesn't seem right. Is it intended?

@CyrusNajmabadi CyrusNajmabadi merged commit 291654a into dotnet:main Feb 9, 2023
@ghost ghost added this to the Next milestone Feb 9, 2023
@CyrusNajmabadi CyrusNajmabadi deleted the traits branch February 9, 2023 22:29
@RikkiGibson RikkiGibson modified the milestones: Next, 17.6 P2 Mar 2, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants