summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2013-01-15 11:07:22 +0000
committerTom Hacohen <tom@stosb.com>2013-01-15 11:07:22 +0000
commite183866d2114364ab81123113a408bece06d13df (patch)
tree67da5df567462a45cef502fb132e192f36bd539f
parentd925820fa90481b6ded2fe7240fb3e489909e9a8 (diff)
Evas text test: Use the more verbose test macros.
SVN revision: 82799
-rw-r--r--src/tests/evas/evas_test_text.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tests/evas/evas_test_text.c b/src/tests/evas/evas_test_text.c
index 99ab405e40..2fcb77aad9 100644
--- a/src/tests/evas/evas_test_text.c
+++ b/src/tests/evas/evas_test_text.c
@@ -126,13 +126,13 @@ START_TEST(evas_text_geometries)
126 for (x = 0 ; x <= (adv - 1) ; x++) 126 for (x = 0 ; x <= (adv - 1) ; x++)
127 { 127 {
128 pos = evas_object_text_last_up_to_pos(to, x, 0); 128 pos = evas_object_text_last_up_to_pos(to, x, 0);
129 fail_if(pos < prev_pos); 129 _ck_assert_int(pos, >=, prev_pos);
130 prev_pos = pos; 130 prev_pos = pos;
131 } 131 }
132 pos = evas_object_text_last_up_to_pos(to, x, 0); 132 pos = evas_object_text_last_up_to_pos(to, x, 0);
133 fail_if(pos != -1); 133 ck_assert_int_eq(pos, -1);
134 pos = evas_object_text_last_up_to_pos(to, -50, 0); 134 pos = evas_object_text_last_up_to_pos(to, -50, 0);
135 fail_if(pos != -1); 135 ck_assert_int_eq(pos, -1);
136 136
137 END_TEXT_TEST(); 137 END_TEXT_TEST();
138} 138}