Ver código fonte

Disabled unix key bindings for TextView. Unit test fix 2

Tig 10 meses atrás
pai
commit
fab5cc9831
1 arquivos alterados com 2 adições e 2 exclusões
  1. 2 2
      UnitTests/Views/TextViewTests.cs

+ 2 - 2
UnitTests/Views/TextViewTests.cs

@@ -5889,7 +5889,7 @@ This is the second line.
             switch (iteration)
             {
                 case 0:
-                    _textView.NewKeyDownEvent (Key.K.WithAlt);
+                    _textView.NewKeyDownEvent (Key.Backspace.WithCtrl.WithShift);
                     Assert.Equal (0, _textView.CursorPosition.X);
                     Assert.Equal (1, _textView.CursorPosition.Y);
                     Assert.Equal ($"This is the first line.{Environment.NewLine}", _textView.Text);
@@ -5909,7 +5909,7 @@ This is the second line.
 
                     break;
                 case 2:
-                    _textView.NewKeyDownEvent (Key.K.WithAlt);
+                    _textView.NewKeyDownEvent (Key.Backspace.WithCtrl.WithShift);
                     Assert.Equal (0, _textView.CursorPosition.X);
                     Assert.Equal (0, _textView.CursorPosition.Y);
                     Assert.Equal ("", _textView.Text);