Skip to content

Commit b5570ed

Browse files
authored
Fix llvm diagnostics test (#1681)
1 parent 184ca81 commit b5570ed

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

test/integration-tests/DiagnosticsManager.test.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,10 @@ suite("DiagnosticsManager Test Suite", function () {
236236
this.skip();
237237
}
238238

239-
resetSettings = await updateSettings({ "swift.diagnosticsStyle": style });
239+
resetSettings = await updateSettings({
240+
"swift.diagnosticsStyle": style,
241+
"swift.buildArguments": ["-Xswiftc", `-DDIAGNOSTIC_STYLE=${style}`],
242+
});
240243

241244
// Clean up any lingering diagnostics
242245
if (vscode.languages.getDiagnostics(mainUri).length > 0) {

0 commit comments

Comments
 (0)