Explorar o código

Disabled unix key bindings for TextView. Unit test fix 2

Tig hai 10 meses
pai
achega
fab5cc9831
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  1. 2 2
      UnitTests/Views/TextViewTests.cs

+ 2 - 2
UnitTests/Views/TextViewTests.cs

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