From 349f1f6459909a300849ecee18bfefe48eee6b77 Mon Sep 17 00:00:00 2001 From: Tig Date: Thu, 30 May 2024 10:07:47 -0600 Subject: [PATCH] Fixed WindowTests --- UnitTests/Views/WindowTests.cs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/UnitTests/Views/WindowTests.cs b/UnitTests/Views/WindowTests.cs index eeae82a90..3c1fbf13a 100644 --- a/UnitTests/Views/WindowTests.cs +++ b/UnitTests/Views/WindowTests.cs @@ -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 (); } }