Skip to content

Commit 25650eb

Browse files
committed
Address feedback and fix test
1 parent fd3bb4f commit 25650eb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

test/unitTests/lspToolHost/configurationMiddleware.test.ts

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,10 @@ const testData = [
4545
{ serverOption: "csharp|code_style.formatting.indentation_and_spacing.indent_style", vsCodeConfiguration: "codeStyle.formatting.indentationAndSpacing.indentStyle", declareInPackageJson: false},
4646
{ serverOption: "csharp|code_style.formatting.new_line.end_of_line", vsCodeConfiguration: "codeStyle.formatting.newLine.endOfLine", declareInPackageJson: false},
4747
{ serverOption: "code_style.formatting.new_line.insert_final_newline", vsCodeConfiguration: "codeStyle.formatting.newLine.insertFinalNewline", declareInPackageJson: false},
48-
{ serverOption: "mystery_language|background_analysis.dotnet_solution_crawler_background_analysis_scope", vsCodeConfiguration: "dotnet.backgroundAnalysis.analyzerDiagnosticsScope", declareInPackageJson: true},
49-
{ serverOption: "mystery_language|background_analysis.dotnet_compiler_diagnostics_scope", vsCodeConfiguration: "dotnet.backgroundAnalysis.compilerDiagnosticsScope", declareInPackageJson: true},
48+
{ serverOption: "csharp|background_analysis.dotnet_solution_crawler_background_analysis_scope", vsCodeConfiguration: "dotnet.backgroundAnalysis.analyzerDiagnosticsScope", declareInPackageJson: true},
49+
{ serverOption: "mystery_language|background_analysis.dotnet_solution_crawler_background_analysis_scope", vsCodeConfiguration: null, declareInPackageJson: false},
50+
{ serverOption: "csharp|background_analysis.dotnet_compiler_diagnostics_scope", vsCodeConfiguration: "dotnet.backgroundAnalysis.compilerDiagnosticsScope", declareInPackageJson: true},
51+
{ serverOption: "mystery_language|background_analysis.dotnet_compiler_diagnostics_scope", vsCodeConfiguration: null, declareInPackageJson: false},
5052
];
5153

5254
suite("Server option name to vscode configuration name test", () => {

0 commit comments

Comments
 (0)