diff options
author | Noah Slater <nslater@apache.org> | 2009-07-06 00:33:50 +0000 |
---|---|---|
committer | Noah Slater <nslater@apache.org> | 2009-07-06 00:33:50 +0000 |
commit | 282b96ddd9a84b740788c2358ec0f5fedafb7cc6 (patch) | |
tree | fb48e605ceb8079d0195d3b1ec0eca7110fa7ef2 /share/www/script/test/bulk_docs.js | |
parent | b5cc085d3bc6316063f14adedf20632ee904875d (diff) |
trimmed trailing whitespace
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/test/bulk_docs.js')
-rw-r--r-- | share/www/script/test/bulk_docs.js | 8 |
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); |