Skip to content

Commit cc5a169

Browse files
author
N. Taylor Mullen
committed
Fix test.
1 parent 202a3d0 commit cc5a169

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test/Lsp.Integration.Tests/TypedCompletionTests.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,8 @@ public async Task Should_Resolve_With_Partial_Data_Capability()
228228
}
229229
);
230230

231-
var item = await client.RequestCompletion(new CompletionParams()).SelectMany(z => z).Take(1).ToTask(CancellationToken);
231+
var completionList = await client.RequestCompletion(new CompletionParams());
232+
var item = completionList.First();
232233

233234
item = await client.ResolveCompletion(item);
234235
item.Detail.Should().Be("resolved");

0 commit comments

Comments
 (0)