couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r735287 - /couchdb/trunk/share/www/script/couch_tests.js
Date Sat, 17 Jan 2009 13:36:23 GMT
Author: jan
Date: Sat Jan 17 05:36:23 2009
New Revision: 735287

URL: http://svn.apache.org/viewvc?rev=735287&view=rev
Log:
Fix coding-style.

Modified:
    couchdb/trunk/share/www/script/couch_tests.js

Modified: couchdb/trunk/share/www/script/couch_tests.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/couch_tests.js?rev=735287&r1=735286&r2=735287&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/couch_tests.js [utf-8] (original)
+++ couchdb/trunk/share/www/script/couch_tests.js [utf-8] Sat Jan 17 05:36:23 2009
@@ -2179,30 +2179,38 @@
           };
         }
       };
+
       var test;
-      for(test in repTests)
-        if(repTests[test].init) repTests[test].init(dbA, dbB);
-      
+      for(test in repTests) {
+        if(repTests[test].init) {
+          repTests[test].init(dbA, dbB);
+        }
+      }
+
       T(CouchDB.replicate(A, B).ok);
-      
-      for(test in repTests)
+
+      for(test in repTests) {
         if(repTests[test].afterAB1) repTests[test].afterAB1(dbA, dbB);
-        
+      }
+
       T(CouchDB.replicate(B, A).ok);
-      
-      for(test in repTests)
+
+      for(test in repTests) {
         if(repTests[test].afterBA1) repTests[test].afterBA1(dbA, dbB);
-      
+      }
+
       T(CouchDB.replicate(A, B).ok);
-      
-      for(test in repTests)
+
+      for(test in repTests) {
         if(repTests[test].afterAB2) repTests[test].afterAB2(dbA, dbB);
-        
+      }
+
       T(CouchDB.replicate(B, A).ok);
-      
-      for(test in repTests)
+
+      for(test in repTests) {
         if(repTests[test].afterBA2) repTests[test].afterBA2(dbA, dbB);
-      
+      }
+
     }
   },
 



Mime
View raw message