summaryrefslogtreecommitdiff
path: root/jstests/core/exists.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/exists.js')
-rw-r--r--jstests/core/exists.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/jstests/core/exists.js b/jstests/core/exists.js
index 3f1e904e52f..e41a7cfde04 100644
--- a/jstests/core/exists.js
+++ b/jstests/core/exists.js
@@ -32,12 +32,12 @@ function dotest( n ){
assert.eq( 4, t.count( {'a.b.c.d': {$exists:false}} ) , n );
}
-dotest( "before index" )
-t.ensureIndex( { "a" : 1 } )
-t.ensureIndex( { "a.b" : 1 } )
-t.ensureIndex( { "a.b.c" : 1 } )
-t.ensureIndex( { "a.b.c.d" : 1 } )
-dotest( "after index" )
+dotest( "before index" );
+t.ensureIndex( { "a" : 1 } );
+t.ensureIndex( { "a.b" : 1 } );
+t.ensureIndex( { "a.b.c" : 1 } );
+t.ensureIndex( { "a.b.c.d" : 1 } );
+dotest( "after index" );
assert.eq( 1, t.find( {a: {$exists:false}} ).hint( {a:1} ).itcount() );
t.drop();