From c05c268204f6c848f08ddb248850fb1aa7acb6a9 Mon Sep 17 00:00:00 2001 From: Filipe David Borba Manana Date: Fri, 19 Nov 2010 12:37:27 +0000 Subject: For absolute consistency, renamed aliases start_key_docid and end_key_docid to start_key_doc_id and end_key_doc_id. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@1036818 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/view_pagination.js | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'share/www/script/test/view_pagination.js') diff --git a/share/www/script/test/view_pagination.js b/share/www/script/test/view_pagination.js index 4f9cfe2c..ed3a7ee1 100644 --- a/share/www/script/test/view_pagination.js +++ b/share/www/script/test/view_pagination.js @@ -37,10 +37,10 @@ couchTests.view_pagination = function(debug) { T(queryResults.rows[j].key == i + j); } - // test aliases start_key and start_key_docid + // test aliases start_key and start_key_doc_id queryResults = db.query(queryFun, null, { start_key: i, - start_key_docid: i, + start_key_doc_id: i, limit: 10 }); T(queryResults.rows.length == 10); @@ -135,12 +135,12 @@ couchTests.view_pagination = function(debug) { }); testEndkeyDocId(queryResults); - // test aliases end_key_docid and end_key + // test aliases end_key_doc_id and end_key queryResults = db.query(function(doc) { emit(null, null); }, null, { start_key: null, - start_key_docid: 1, + start_key_doc_id: 1, end_key: null, - end_key_docid: 40 + end_key_doc_id: 40 }); testEndkeyDocId(queryResults); -- cgit v1.2.3