We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8aa399b commit 5d05194Copy full SHA for 5d05194
1 file changed
src/test/unit/System.Windows.Forms/System/Windows/Forms/ControlTests.Methods.cs
@@ -421,7 +421,8 @@ public void Control_OnHandleDestroyed_CustomAccessibleObject_DoesNotThrow1()
421
};
422
423
AccessibleObject accessibleObject = control.AccessibilityObject;
424
- control.InvokeOnHandleDestroyed(EventArgs.Empty);
+ Action action = () => control.InvokeOnHandleDestroyed(EventArgs.Empty);
425
+ action.Should().NotThrow();
426
}
427
428
[WinFormsFact]
0 commit comments