Skip to content

Commit 8a4962c

Browse files
committed
Add cursor position test assert
1 parent 4b02893 commit 8a4962c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

UnitTests/Views/TimeFieldTests.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,7 @@ public void KeyBindings_Command ()
147147
Assert.True (tf.NewKeyDownEvent (Key.End));
148148
Assert.Equal (8, tf.CursorPosition);
149149
Assert.True (tf.NewKeyDownEvent (Key.A.WithCtrl));
150+
Assert.Equal (9, tf.CursorPosition);
150151
Assert.Equal (tf.SelectedLength, tf.Text.Length);
151152
Assert.True (tf.NewKeyDownEvent (Key.E.WithCtrl));
152153
Assert.Equal (8, tf.CursorPosition);

0 commit comments

Comments
 (0)