diff options
author | Damien F. Katz <damien@apache.org> | 2008-10-21 18:43:42 +0000 |
---|---|---|
committer | Damien F. Katz <damien@apache.org> | 2008-10-21 18:43:42 +0000 |
commit | 6c9891e4f33e980f3cbe6a0e509c3ba84b692d3e (patch) | |
tree | 1a2f4458068a6cd7f6398d7192980777ef9eb809 /share | |
parent | e8b5079917c0734637e444018c304ea057ad7f32 (diff) |
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
Diffstat (limited to 'share')
-rw-r--r-- | share/www/script/couch_tests.js | 4 |
1 files changed, 4 insertions, 0 deletions
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 |