Fixed WindowTests

This commit is contained in:
Tig
2024-05-30 10:07:47 -06:00
parent 7973d53959
commit 349f1f6459

View File

@@ -26,6 +26,7 @@ public class WindowTests
Exception exception = Record.Exception (() => win.NewKeyDownEvent (KeyCode.AltMask));
Assert.Null (exception);
top.Dispose ();
}
[Fact]
@@ -119,6 +120,7 @@ public class WindowTests
└──────────────────┘",
_output
);
top.Dispose ();
}
[Fact]
@@ -224,5 +226,6 @@ public class WindowTests
Assert.True (view1.HasFocus);
Assert.False (win2.HasFocus);
Assert.False (view2.HasFocus);
win1.Dispose ();
}
}