diff options
author | Daniel Hirt <hirt.danny@gmail.com> | 2017-12-09 02:43:22 +0200 |
---|---|---|
committer | Daniel Hirt <hirt.danny@gmail.com> | 2017-12-16 09:28:22 +0200 |
commit | 4a03ca3a75889b251fd51a126d4ad4d6e99f864c (patch) | |
tree | b9dcaaf673c445ac4cd2abc6c5e3c39d6c7ca9ff | |
parent | cfa6338f68f4e5cd845c2fe7c13008ae3857d148 (diff) | |
download | efl-devs/herdsman/annotation_item.tar.gz |
Item factory: fixup tests (switched parameter position)devs/herdsman/annotation_item
-rw-r--r-- | src/tests/evas/evas_test_textblock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tests/evas/evas_test_textblock.c b/src/tests/evas/evas_test_textblock.c index 704040381f..b4f3b99f31 100644 --- a/src/tests/evas/evas_test_textblock.c +++ b/src/tests/evas/evas_test_textblock.c @@ -4371,7 +4371,7 @@ START_TEST(evas_textblock_annotation) /* Check "item" annotations */ efl_text_set(tb, "abcd"); evas_textblock_cursor_pos_set(cur, 4); - an = efl_text_cursor_item_insert(tb, cur, "size=16x16", ""); + an = efl_text_cursor_item_insert(tb, cur, "", "size=16x16"); _test_check_annotation(tb, 4, 4, _COMP_PARAMS("size=16x16 href=")); /* Check that format is not extended if it's an "object item" */ @@ -4420,7 +4420,7 @@ START_TEST(evas_textblock_annotation) an = efl_text_cursor_item_annotation_get(tb, cur); ck_assert(!an); - an = efl_text_cursor_item_insert(tb, cur, "size=16x16", ""); + an = efl_text_cursor_item_insert(tb, cur, "", "size=16x16"); evas_textblock_cursor_pos_set(cur, 4); an = efl_text_cursor_item_annotation_get(tb, cur); ck_assert(an); |