couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject [couchdb] 01/02: chore: whitespace
Date Mon, 20 Mar 2017 14:23:03 GMT
This is an automated email from the ASF dual-hosted git repository.

jan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/couchdb.git

commit dad47829b3ea535e433996c5a6c629c039e40092
Author: Jan Lehnardt <jan@apache.org>
AuthorDate: Mon Mar 20 15:06:46 2017 +0100

    chore: whitespace
---
 test/javascript/tests/replication.js | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/test/javascript/tests/replication.js b/test/javascript/tests/replication.js
index 6393acf..3d53dc6 100644
--- a/test/javascript/tests/replication.js
+++ b/test/javascript/tests/replication.js
@@ -15,7 +15,7 @@ couchTests.replication = function(debug) {
   if (debug) debugger;
 
   var host = CouchDB.host;
-  // as we change names during execution, do NOT use test_suite_db or a 
+  // as we change names during execution, do NOT use test_suite_db or a
   // pre-computed value like ''+sourceDb.name (compute only on use)
   var sourceDb;
   var targetDb;
@@ -60,17 +60,17 @@ couchTests.replication = function(debug) {
     return data;
   }
 
-  
+
   function runAllNodes(callback) {
     // new and fancy: clustered version: pull cluster_members and walk over all of them
-    var xhr = CouchDB.request("GET", "/_membership"); 
+    var xhr = CouchDB.request("GET", "/_membership");
     T(xhr.status === 200);
     JSON.parse(xhr.responseText).cluster_nodes.forEach(callback);
   }
 
   function runFirstNode(callback) {
     // new and fancy: clustered version: pull cluster_members and walk over all of them
-    var xhr = CouchDB.request("GET", "/_membership"); 
+    var xhr = CouchDB.request("GET", "/_membership");
     T(xhr.status === 200);
     var node = JSON.parse(xhr.responseText).cluster_nodes[0];
     return callback(node);
@@ -132,7 +132,7 @@ couchTests.replication = function(debug) {
         sourceDb.deleteDb();
       }
       sourceDb = new CouchDB(get_random_db_name() + "_src",{"X-Couch-Full-Commit":"false"});
-      sourceDb.createDb(); 
+      sourceDb.createDb();
     }
     for (var i = 0; i < docs.length; i++) {
       var doc = docs[i];
@@ -1892,6 +1892,6 @@ couchTests.replication = function(debug) {
   //usersDb.deleteDb();
   sourceDb.deleteDb();
   targetDb.deleteDb();
-  // (not sure what this is - cleanup after 'file not found tests' poss. - not harmful anyway)

+  // (not sure what this is - cleanup after 'file not found tests' poss. - not harmful anyway)
   (new CouchDB("test_suite_db")).deleteDb();
 };

-- 
To stop receiving notification emails like this one, please contact
"commits@couchdb.apache.org" <commits@couchdb.apache.org>.

Mime
View raw message