From b8cccbdd95432ebd7ccc616720aabfca64801b4d Mon Sep 17 00:00:00 2001 From: "Carsten Haitzler (Rasterman)" Date: Mon, 28 Dec 2020 21:57:12 +0000 Subject: [PATCH] efl ui test - set cursor pos compare right --- src/tests/elementary/efl_ui_test_text.c | 4 ++-- 1 file 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);