From 540592a0dfd0f8986dcec5fe95894610d9698c50 Mon Sep 17 00:00:00 2001 From: Tom Hacohen Date: Tue, 19 Jul 2011 13:43:20 +0000 Subject: [PATCH] Evas tests: Added another textblock format removal test. SVN revision: 61503 --- legacy/evas/src/tests/evas_test_textblock.c | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/legacy/evas/src/tests/evas_test_textblock.c b/legacy/evas/src/tests/evas_test_textblock.c index d3b49d5..b4619ed 100644 --- a/legacy/evas/src/tests/evas_test_textblock.c +++ b/legacy/evas/src/tests/evas_test_textblock.c @@ -731,6 +731,13 @@ START_TEST(evas_textblock_format_removal) fnode = evas_textblock_node_format_next_get(fnode); fail_if (fnode); + /* Two formats in the same place. */ + evas_object_textblock_text_markup_set(tb, "abb"); + evas_textblock_cursor_pos_set(cur, 1); + evas_textblock_cursor_char_delete(cur); + fnode = evas_textblock_node_format_first_get(tb); + fail_if (fnode); + END_TB_TEST(); } END_TEST -- 2.7.4