From 6c9891e4f33e980f3cbe6a0e509c3ba84b692d3e Mon Sep 17 00:00:00 2001 From: "Damien F. Katz" Date: Tue, 21 Oct 2008 18:43:42 +0000 Subject: Fix for COUCHDB-99. Certain Skipped KeyValue pairs weren't being assembled into final values before being reduces. git-svn-id: https://svn.apache.org/repos/asf/incubator/couchdb/trunk@706714 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/couch_tests.js | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'share') diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js index 8876cab8..e436ba00 100644 --- a/share/www/script/couch_tests.js +++ b/share/www/script/couch_tests.js @@ -72,6 +72,10 @@ var tests = { // Check _all_docs with descending=true var desc = db.allDocs({descending:true}); T(desc.total_rows == desc.rows.length); + + // Check _all_docs offset + var all = db.allDocs({startkey:"2"}); + T(all.offset == 2); // Test a simple map functions -- cgit v1.2.3