dotnet/roslyn

Unskip unit test AddImportTests.TestAddImportWithCaseChange

Offen

#41.484 geöffnet am 07.02.2020

 (0 Kommentare) (0 Reaktionen) (1 zugewiesene Person)C# (4.257 Forks)batch import
Area-IDEBughelp wanted

Repository-Metriken

Stars
 (20.414 Sterne)
PR-Merge-Metriken
 (Durchschn. Merge 6T 17h) (256 gemergte PRs in 30 T)

Beschreibung

Following unit test is attempting to validate that the CodeActionPriority of the offered code fix is Medium and not High. https://github.com/dotnet/roslyn/blob/aaed1133a5bc0db1387ae8538f0b648520d55241/src/EditorFeatures/VisualBasicTest/Diagnostics/AddImport/AddImportTests.vb#L78-L102

However, due to a bug in test framework, the validation is not even being performed. Attempting to fix the test framework in https://github.com/dotnet/roslyn/pull/41363 causes the unit test to fail as the offered code fix is indeed still at CodeActionPriority.High. I am going to skip the unit test as part of that PR, and use this issue to track fixing the product behavior and unskip the test.

Contributor Guide