Bläddra i källkod

Add cursor position test assert

Maciej Winnik 9 månader sedan
förälder
incheckning
8a4962ca30
1 ändrade filer med 1 tillägg och 0 borttagningar
  1. 1 0
      UnitTests/Views/TimeFieldTests.cs

+ 1 - 0
UnitTests/Views/TimeFieldTests.cs

@@ -147,6 +147,7 @@ public class TimeFieldTests
         Assert.True (tf.NewKeyDownEvent (Key.End));
         Assert.Equal (8, tf.CursorPosition);
         Assert.True (tf.NewKeyDownEvent (Key.A.WithCtrl));
+        Assert.Equal (9, tf.CursorPosition);
         Assert.Equal (tf.SelectedLength, tf.Text.Length);
         Assert.True (tf.NewKeyDownEvent (Key.E.WithCtrl));
         Assert.Equal (8, tf.CursorPosition);