From cf9c0d0168c29a52bf25b1fa0cd73d3d3947f9d6 Mon Sep 17 00:00:00 2001 From: Tig Date: Thu, 3 Apr 2025 10:34:59 -0600 Subject: [PATCH] Merged from laptop2 --- Tests/UnitTests/Views/ShortcutTests.cs | 2 +- Tests/UnitTestsParallelizable/Views/ShortcutTests.cs | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Tests/UnitTests/Views/ShortcutTests.cs b/Tests/UnitTests/Views/ShortcutTests.cs index a127d9eb2..e2ec41983 100644 --- a/Tests/UnitTests/Views/ShortcutTests.cs +++ b/Tests/UnitTests/Views/ShortcutTests.cs @@ -466,7 +466,7 @@ public class ShortcutTests shortcut.HasFocus = true; - Assert.NotNull (shortcut.ColorScheme); + Assert.Null (shortcut.ColorScheme); Application.Top.Dispose (); Application.ResetState (); diff --git a/Tests/UnitTestsParallelizable/Views/ShortcutTests.cs b/Tests/UnitTestsParallelizable/Views/ShortcutTests.cs index 890802944..ac0078fac 100644 --- a/Tests/UnitTestsParallelizable/Views/ShortcutTests.cs +++ b/Tests/UnitTestsParallelizable/Views/ShortcutTests.cs @@ -420,7 +420,7 @@ public class ShortcutTests Assert.False (shortcut.CommandView.CanFocus); shortcut.CommandView = new () { CanFocus = true }; - Assert.False (shortcut.CommandView.CanFocus); + Assert.True (shortcut.CommandView.CanFocus); shortcut.CommandView.CanFocus = true; Assert.True (shortcut.CommandView.CanFocus);