From 4eeb4ef4e5f348c43a93b685026a596e80d7f04e Mon Sep 17 00:00:00 2001 From: detachhead Date: Sat, 2 Nov 2024 16:01:36 +1000 Subject: [PATCH] =?UTF-8?q?fix=20import=20from=20statement=20=E2=80=BA=20r?= =?UTF-8?q?ename=20module=20test=20(idk=20how=20it=20ever=20worked)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/pyright-internal/src/tests/languageServer.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/pyright-internal/src/tests/languageServer.test.ts b/packages/pyright-internal/src/tests/languageServer.test.ts index b65b57720..99f0117b5 100644 --- a/packages/pyright-internal/src/tests/languageServer.test.ts +++ b/packages/pyright-internal/src/tests/languageServer.test.ts @@ -777,7 +777,7 @@ describe(`Basic language server tests`, () => { const result = await serverInfo.connection.sendRequest( WillRenameFilesRequest.type, { - files: [{ oldUri: 'file:///src/foo/bar', newUri: 'file:///src/foo/bar2' }], + files: [{ oldUri: marker.fileUri.toString(), newUri: 'file:///src/foo/bar2.py' }], }, CancellationToken.None );