Skip to content

Commit cb9636e

Browse files
committed
Replace Task.Delay with form.InvokeAsync
1 parent 90725f3 commit cb9636e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/integration/UIIntegrationTests/ListViewTests.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -501,7 +501,7 @@ await InputSimulator.SendAsync(
501501
form,
502502
inputSimulator => inputSimulator.Mouse.LeftButtonClick()
503503
.Keyboard.KeyUp(VIRTUAL_KEY.VK_SHIFT));
504-
await Task.Delay(15);
504+
await form.InvokeAsync(() => { });
505505
foreach (ListViewItem item in listView.Items)
506506
{
507507
Assert.Equal(0, item.StateImageIndex);

0 commit comments

Comments
 (0)