diff options
Diffstat (limited to 'share/www/script/test/design_docs.js')
| -rw-r--r-- | share/www/script/test/design_docs.js | 4 | 
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/script/test/design_docs.js b/share/www/script/test/design_docs.js index 831321b8..f2f63841 100644 --- a/share/www/script/test/design_docs.js +++ b/share/www/script/test/design_docs.js @@ -286,6 +286,10 @@ couchTests.design_docs = function(debug) {      result = db.view("test/summate", {startkey: 4, endkey: 6});      T(result.rows[0].value == 15); +    // test start_key and end_key aliases +    result = db.view("test/summate", {start_key: 4, end_key: 6}); +    T(result.rows[0].value == 15); +      // Verify that a shared index (view def is an exact copy of "summate")      // does not confuse the reduce stage      result = db.view("test/summate2", {startkey: 4, endkey: 6});  | 
