diff options
author | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-12-28 21:57:12 +0000 |
---|---|---|
committer | Carsten Haitzler (Rasterman) <raster@rasterman.com> | 2020-12-28 21:57:12 +0000 |
commit | b8cccbdd95432ebd7ccc616720aabfca64801b4d (patch) | |
tree | c41221ef9b0250ac89c58dad6691d76fe4a268ca | |
parent | 2f1795d8bc43516e0185f022be97fa3f6539f625 (diff) | |
download | efl-b8cccbdd95432ebd7ccc616720aabfca64801b4d.tar.gz |
efl ui test - set cursor pos compare right
-rw-r--r-- | src/tests/elementary/efl_ui_test_text.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/elementary/efl_ui_test_text.c b/src/tests/elementary/efl_ui_test_text.c index b2596af99c..a49ddc056a 100644 --- a/src/tests/elementary/efl_ui_test_text.c +++ b/src/tests/elementary/efl_ui_test_text.c @@ -507,7 +507,7 @@ EFL_START_TEST(text_keyboard_mouse_cluster_cursor_movement) efl_ui_focus_util_focus(txt); evas_event_feed_key_down(e, "Right", "Right", "Right", "Right", time(NULL), NULL); - ck_assert_int_eq(4, efl_text_cursor_object_position_get(cursor)); + ck_assert_int_eq(2, efl_text_cursor_object_position_get(cursor)); efl_text_cursor_object_position_set(cursor, 1); efl_text_cursor_object_move(cursor, EFL_TEXT_CURSOR_MOVE_TYPE_CHARACTER_NEXT); @@ -518,7 +518,7 @@ EFL_START_TEST(text_keyboard_mouse_cluster_cursor_movement) efl_text_cursor_object_position_set(cursor, 0); click_object_at(win, rc2.x + rc.x + (rc.w/2), rc2.y + rc.y + (rc.h/2)); - ck_assert_int_eq(4, efl_text_cursor_object_position_get(cursor)); + ck_assert_int_eq(2, efl_text_cursor_object_position_get(cursor)); efl_del(txt); efl_del(win); |