summaryrefslogtreecommitdiff
path: root/share/www/script
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script')
-rw-r--r--share/www/script/test/conflicts.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/share/www/script/test/conflicts.js b/share/www/script/test/conflicts.js
index 02e50035..dfd7e8b6 100644
--- a/share/www/script/test/conflicts.js
+++ b/share/www/script/test/conflicts.js
@@ -41,6 +41,10 @@ couchTests.conflicts = function(debug) {
} catch (e) {
T(e.error == "conflict");
}
+
+ var bySeq = db.allDocsBySeq();
+
+ T( bySeq.rows.length == 1)
// Now clear out the _rev member and save. This indicates this document is
// new, not based on an existing revision.