tasn pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=4850c4660f226f1d58f3e877d0b8ddbd6a6c77d4

commit 4850c4660f226f1d58f3e877d0b8ddbd6a6c77d4
Author: Tom Hacohen <t...@stosb.com>
Date:   Fri Sep 20 17:59:12 2013 +0100

    Evas textblock: Fixed broken test.
    
    Item is not meant to take the size of the max ascent, just the ascent.
---
 src/tests/evas/evas_test_textblock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/tests/evas/evas_test_textblock.c 
b/src/tests/evas/evas_test_textblock.c
index 54865bb..fa08800 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)
    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);

-- 


Reply via email to