Skip to content

Commit fa302f5

Browse files
committed
Fix tests
1 parent 03adc22 commit fa302f5

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/vs/editor/contrib/comment/test/lineCommentCommand.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ suite('Editor Contrib - Line Comment Command', () => {
9191
' ',
9292
' c',
9393
'\t\td'
94-
]), createBasicLinePreflightData(['//', 'rem', '!@#', '!@#']), 1, false);
94+
]), createBasicLinePreflightData(['//', 'rem', '!@#', '!@#']), 1, true);
9595
if (!r.supported) {
9696
throw new Error(`unexpected`);
9797
}
@@ -122,7 +122,7 @@ suite('Editor Contrib - Line Comment Command', () => {
122122
' rem ',
123123
' !@# c',
124124
'\t\t!@#d'
125-
]), createBasicLinePreflightData(['//', 'rem', '!@#', '!@#']), 1, false);
125+
]), createBasicLinePreflightData(['//', 'rem', '!@#', '!@#']), 1, true);
126126
if (!r.supported) {
127127
throw new Error(`unexpected`);
128128
}

src/vs/monaco.d.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3211,10 +3211,10 @@ declare namespace monaco.editor {
32113211
*/
32123212
insertSpace?: boolean;
32133213
/**
3214-
* Includes commenting empty lines when inserting line comments.
3215-
* Defaults to false.
3214+
* Ignore empty lines when inserting line comments.
3215+
* Defaults to true.
32163216
*/
3217-
includeEmptyLines?: boolean;
3217+
ignoreEmptyLines?: boolean;
32183218
}
32193219

32203220
export type EditorCommentsOptions = Readonly<Required<IEditorCommentsOptions>>;

0 commit comments

Comments
 (0)