Evas textblock: Fixed broken test.

Item is not meant to take the size of the max ascent, just the ascent.
This commit is contained in:
Tom Hacohen 2013-09-20 17:59:12 +01:00
parent 2ab088aeea
commit 4850c4660f
1 changed files with 1 additions and 1 deletions

View File

@ -1451,7 +1451,7 @@ START_TEST(evas_textblock_items)
fail_if((w >= 93) || (h >= 153));
evas_textblock_cursor_pos_set(cur, 11);
evas_textblock_cursor_format_item_geometry_get(cur, NULL, NULL, &w, &ih);
fail_if((w > 108) || (h != ih));
fail_if((w > 108) || (h <= ih));
buf = "This is an <item relize=93x152 vsize=ascent></>.";
evas_object_textblock_text_markup_set(tb, buf);