Skip to content

Update IDEDiagnosticIDConfigurationTests to be exclusive rather than inclusive#52078

Merged
genlu merged 2 commits intodotnet:mainfrom
Youssef1313:patch-54
Mar 25, 2021
Merged

Update IDEDiagnosticIDConfigurationTests to be exclusive rather than inclusive#52078
genlu merged 2 commits intodotnet:mainfrom
Youssef1313:patch-54

Conversation

@Youssef1313
Copy link
Member

@Youssef1313 Youssef1313 commented Mar 23, 2021

This was skipping "RE0001" analyzer (probably unintentionally?)

Let's see what analyzers will fail the test now.

@Youssef1313 Youssef1313 requested a review from a team as a code owner March 23, 2021 12:47
@ghost ghost added the Area-Analyzers label Mar 23, 2021
@jinujoseph jinujoseph added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Mar 23, 2021
@Youssef1313
Copy link
Member Author

The test fails for RE0001 as expected. But the expected entry is:

# RE0001
No editorconfig based code style option

Is that correct given that the analyzer passes some option:

@jmarolf
Copy link
Contributor

jmarolf commented Mar 24, 2021

This looks to be expected @Youssef1313 there is no editorconfig storage location specified in this option:

storageLocations: new RoamingProfileStorageLocation("TextEditor.%LANGUAGE%.Specific.ReportInvalidRegexPatterns"));

So it cannot be persisted to editorconfig files.

@genlu genlu merged commit d595676 into dotnet:main Mar 25, 2021
@ghost ghost added this to the Next milestone Mar 25, 2021
@Youssef1313 Youssef1313 deleted the patch-54 branch March 25, 2021 18:59
@allisonchou allisonchou modified the milestones: Next, 16.10.P2 Mar 29, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-Analyzers Community The pull request was submitted by a contributor who is not a Microsoft employee.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants