Skip to content

Commit 5163d2c

Browse files
author
Justin Chen
committed
fixed E2E tests
1 parent 538475e commit 5163d2c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/PowerShellEditorServices.Test.E2E/LanguageServerProtocolMessageTests.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ public async Task CanSendSemanticTokenRequest()
11471147
SemanticTokens result =
11481148
await PsesLanguageClient
11491149
.SendRequest<SemanticTokensParams>(
1150-
"textDocument/semanticTokens",
1150+
"textDocument/semanticTokens/full",
11511151
new SemanticTokensParams
11521152
{
11531153
TextDocument = new TextDocumentIdentifier
@@ -1162,7 +1162,7 @@ await PsesLanguageClient
11621162
var expectedArr = new int[5]
11631163
{
11641164
// line, index, token length, token type, token modifiers
1165-
0, 0, scriptContent.Length, 2, 0 //function token: line 0, index 0, length, type 2 = keyword, no modifiers
1165+
0, 0, 8, 1, 0 //function token: line 0, index 0, length 8, type 1 = keyword, no modifiers
11661166
};
11671167

11681168
Assert.Equal(expectedArr, result.Data.ToArray());

0 commit comments

Comments
 (0)