tests: fix typing error

This commit is contained in:
Grégoire Geis 2021-12-12 21:10:56 +01:00
parent 4c2b8f5668
commit 56d4e6b8b0

View File

@ -287,7 +287,7 @@ function stringifySelection(document: vscode.TextDocument, selection: vscode.Sel
export class ExpectedDocument {
public constructor(
public readonly text: string,
public readonly selections: vscode.Selection[] = [],
public readonly selections: readonly vscode.Selection[] = [],
) {
const lineCount = text.split("\n").length;