You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ja...@apache.org on 2009/01/17 14:36:23 UTC

svn commit: r735287 - /couchdb/trunk/share/www/script/couch_tests.js

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);
-      
+      }
+
     }
   },