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);