[evolution-data-server/october-code-drop-post-api-change: 21/39] highlevel cursor tests: Fixed to expect total + 1 when overshooting the end of the list.



commit 997488e64f78e1b60a814152e8c70daaf3b7294f
Author: Tristan Van Berkom <tristanvb openismus com>
Date:   Sat Oct 19 01:11:57 2013 +0200

    highlevel cursor tests: Fixed to expect total + 1 when overshooting the end of the list.

 .../client/test-client-cursor-operations.c         |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/tests/libebook/client/test-client-cursor-operations.c 
b/tests/libebook/client/test-client-cursor-operations.c
index b607870..6e66b0a 100644
--- a/tests/libebook/client/test-client-cursor-operations.c
+++ b/tests/libebook/client/test-client-cursor-operations.c
@@ -2155,7 +2155,7 @@ main (gint argc,
                                     11, /* Count */
                                     10, /* Expected results */
                                     17, 16, 18, 10, 14, 12, 13, 9,  19, 20);
-               cursor_closure_position (closure, 20, 0, TRUE);
+               cursor_closure_position (closure, 20, 21, TRUE);
                cursor_closure_add (closure, "/EBookClientCursor/Move/Overshoot%s", base_params[i].base_path);
 
                /* Undershooting the contact list (in reverse) causes position to become


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]