summaryrefslogtreecommitdiff
path: root/jstests/repl/repair.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/repl/repair.js')
-rw-r--r--jstests/repl/repair.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/jstests/repl/repair.js b/jstests/repl/repair.js
index 9bdaef35962..b654244eb2b 100644
--- a/jstests/repl/repair.js
+++ b/jstests/repl/repair.js
@@ -2,13 +2,13 @@
var baseName = "jstests_repl_repair";
-rt = new ReplTest( baseName );
+rt = new ReplTest(baseName);
-m = rt.start( true );
+m = rt.start(true);
-m.getDB( baseName )[ baseName ].save( {} );
-var c = m.getDB( 'local' ).oplog.$main.count();
-assert.automsg( "c > 0" );
+m.getDB(baseName)[baseName].save({});
+var c = m.getDB('local').oplog.$main.count();
+assert.automsg("c > 0");
-assert.commandWorked( m.getDB( "local" ).repairDatabase() );
-assert.automsg( "c <= m.getDB( 'local' ).oplog.$main.count()" );
+assert.commandWorked(m.getDB("local").repairDatabase());
+assert.automsg("c <= m.getDB( 'local' ).oplog.$main.count()");