Skip to content

Commit 95f7105

Browse files
authored
Fix VSTHRD103 in completion test
1 parent a0f9cdc commit 95f7105

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

test/PowerShellEditorServices.Test/Language/CompletionHandlerTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ public async Task CompletesFilePath()
130130
public async Task CompletionResolveHandlesTaskCanceledException()
131131
{
132132
using CancellationTokenSource cancellationTokenSource = new();
133-
cancellationTokenSource.Cancel();
133+
await cancellationTokenSource.CancelAsync();
134134

135135
CompletionItem request = new()
136136
{

0 commit comments

Comments
 (0)