summaryrefslogtreecommitdiff
path: root/share/www/script/test/bulk_docs.js
diff options
context:
space:
mode:
Diffstat (limited to 'share/www/script/test/bulk_docs.js')
-rw-r--r--share/www/script/test/bulk_docs.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/share/www/script/test/bulk_docs.js b/share/www/script/test/bulk_docs.js
index 8e73ded4..b4c0ef9d 100644
--- a/share/www/script/test/bulk_docs.js
+++ b/share/www/script/test/bulk_docs.js
@@ -34,7 +34,7 @@ couchTests.bulk_docs = function(debug) {
T(results.length == 5);
for (i = 0; i < 5; i++) {
T(results[i].id == i.toString());
-
+
// set the delete flag to delete the docs in the next step
docs[i]._deleted = true;
}
@@ -72,7 +72,7 @@ couchTests.bulk_docs = function(debug) {
// Now save the bulk docs, When we use all_or_nothing, we don't get conflict
// checking, all docs are saved regardless of conflict status, or none are
// saved.
- results = db.bulkSave(docs,{all_or_nothing:true});
+ results = db.bulkSave(docs,{all_or_nothing:true});
T(results.error === undefined);
var doc = db.open("0", {conflicts:true});
@@ -88,8 +88,8 @@ couchTests.bulk_docs = function(debug) {
T(results[0].id != "");
T(results[0].rev != "");
-
-
+
+
// Regression test for failure on update/delete
var newdoc = {"_id": "foobar", "body": "baz"};
T(db.save(newdoc).ok);