summaryrefslogtreecommitdiff
path: root/rel/overlay/share/www/script/test/all_docs.js
diff options
context:
space:
mode:
Diffstat (limited to 'rel/overlay/share/www/script/test/all_docs.js')
-rw-r--r--rel/overlay/share/www/script/test/all_docs.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/rel/overlay/share/www/script/test/all_docs.js b/rel/overlay/share/www/script/test/all_docs.js
index 1d83aa95..1afe701d 100644
--- a/rel/overlay/share/www/script/test/all_docs.js
+++ b/rel/overlay/share/www/script/test/all_docs.js
@@ -41,6 +41,13 @@ couchTests.all_docs = function(debug) {
var all = db.allDocs({startkey:"2"});
T(all.offset == 2);
+ // Confirm that queries may assume raw collation.
+ var raw = db.allDocs({
+ startkey: "org.couchdb.user:",
+ endkey: "org.couchdb.user;"
+ });
+ TEquals(0, raw.rows.length);
+
// check that the docs show up in the seq view in the order they were created
var changes = db.changes();
var ids = ["0","3","1","2"];