diff options
author | Jan Lehnardt <jan@apache.org> | 2009-01-17 13:36:23 +0000 |
---|---|---|
committer | Jan Lehnardt <jan@apache.org> | 2009-01-17 13:36:23 +0000 |
commit | 197f85129a45073ea48088d1984e4d43707c287c (patch) | |
tree | eb682cee57ec3a388362b201de3dd7a4ce0256ae /share/www/script/couch_tests.js | |
parent | 79d725aad6b5ca51ac092df901e8e32668fc43f9 (diff) |
Fix coding-style.
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@735287 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www/script/couch_tests.js')
-rw-r--r-- | share/www/script/couch_tests.js | 38 |
1 files changed, 23 insertions, 15 deletions
diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js index 34c5c3aa..3e2bb381 100644 --- a/share/www/script/couch_tests.js +++ b/share/www/script/couch_tests.js @@ -2179,30 +2179,38 @@ var tests = { }; } }; + 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); - + } + } }, |