Skip to content

Commit a1fd5a9

Browse files
committed
update code action validation button title
1 parent 5e1ca2c commit a1fd5a9

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/services/CodeActionService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export interface CodeActionFix {
3232
}
3333

3434
export class CodeActionService {
35-
private static readonly REMOVE_ERROR_TITLE = 'Remove validation error';
35+
private static readonly REMOVE_ERROR_TITLE = 'Hide validation error';
3636
private readonly log = LoggerFactory.getLogger(CodeActionService);
3737

3838
private logError(operation: string, error: unknown): void {

tst/unit/services/CodeActionService.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -260,11 +260,11 @@ describe('CodeActionService', () => {
260260
const result = codeActionService.generateCodeActions(params);
261261

262262
verifyCodeAction(params, result, {
263-
title: 'Remove validation error',
263+
title: 'Hide validation error',
264264
kind: 'quickfix',
265265
diagnostics: [diagnostic],
266266
command: {
267-
title: 'Remove validation error',
267+
title: 'Hide validation error',
268268
command: '/command/template/clear-diagnostic',
269269
arguments: [params.textDocument.uri, 'test-uuid-123'],
270270
},

0 commit comments

Comments
 (0)