Refactored AutoInitShutdown attribute - scary stuff

This commit is contained in:
Charlie Kindel
2022-11-11 10:06:21 -07:00
parent 2bce4a709d
commit 1efb051379
28 changed files with 264 additions and 139 deletions

View File

@@ -2968,7 +2968,7 @@ namespace Terminal.Gui.Core {
[Fact]
public void Draw_Horizontal_Throws_IndexOutOfRangeException_With_Negative_Bounds ()
{
Application.Init (new FakeDriver (), new FakeMainLoop (() => FakeConsole.ReadKey (true)));
Application.Init (new FakeDriver ());
var top = Application.Top;
@@ -3008,7 +3008,7 @@ namespace Terminal.Gui.Core {
[Fact]
public void Draw_Vertical_Throws_IndexOutOfRangeException_With_Negative_Bounds ()
{
Application.Init (new FakeDriver (), new FakeMainLoop (() => FakeConsole.ReadKey (true)));
Application.Init (new FakeDriver ());
var top = Application.Top;