summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-09-20 17:59:12 +0100
committerTom Hacohen <tom@stosb.com>2013-09-23 14:37:19 +0100
commit4850c4660f226f1d58f3e877d0b8ddbd6a6c77d4 (patch)
tree79c95215d8288fa25582c02e2d75d39f85ecbc1b
parent2ab088aeea4a306899f442a2aba8fcea63c951dc (diff)
Evas textblock: Fixed broken test.
Item is not meant to take the size of the max ascent, just the ascent.
-rw-r--r--src/tests/evas/evas_test_textblock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c
index 54865bb56e..fa08800612 100644
--- a/src/tests/evas/evas_test_textblock.c
+++ b/src/tests/evas/evas_test_textblock.c
@@ -1451,7 +1451,7 @@ START_TEST(evas_textblock_items)
1451 fail_if((w >= 93) || (h >= 153)); 1451 fail_if((w >= 93) || (h >= 153));
1452 evas_textblock_cursor_pos_set(cur, 11); 1452 evas_textblock_cursor_pos_set(cur, 11);
1453 evas_textblock_cursor_format_item_geometry_get(cur, NULL, NULL, &w, &ih); 1453 evas_textblock_cursor_format_item_geometry_get(cur, NULL, NULL, &w, &ih);
1454 fail_if((w > 108) || (h != ih)); 1454 fail_if((w > 108) || (h <= ih));
1455 1455
1456 buf = "This is an <item relize=93x152 vsize=ascent></>."; 1456 buf = "This is an <item relize=93x152 vsize=ascent></>.";
1457 evas_object_textblock_text_markup_set(tb, buf); 1457 evas_object_textblock_text_markup_set(tb, buf);