From a5b0a2c9dd6230a656595b033ca663feacaa2b78 Mon Sep 17 00:00:00 2001 From: Garrett Serack Date: Thu, 10 Apr 2025 13:58:30 -0700 Subject: [PATCH] Update lmTool.test.ts to account for interface change in vscode.d.ts This works around a change to the vscode TextDocument interface --- Extension/test/scenarios/SingleRootProject/tests/lmTool.test.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Extension/test/scenarios/SingleRootProject/tests/lmTool.test.ts b/Extension/test/scenarios/SingleRootProject/tests/lmTool.test.ts index 3b45b308e..52d062a40 100644 --- a/Extension/test/scenarios/SingleRootProject/tests/lmTool.test.ts +++ b/Extension/test/scenarios/SingleRootProject/tests/lmTool.test.ts @@ -72,6 +72,7 @@ describe('CppConfigurationLanguageModelTool Tests', () => { this.isClosed = isClosed; this.eol = eol; this.lineCount = lineCount; + this.encoding = ''; } fileName: string; isUntitled: boolean; @@ -79,6 +80,7 @@ describe('CppConfigurationLanguageModelTool Tests', () => { version: number; isDirty: boolean; isClosed: boolean; + encoding: string; save(): Thenable { throw new Error('Method not implemented.'); }