summaryrefslogtreecommitdiff
path: root/jstests/core/null2.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/null2.js')
-rw-r--r--jstests/core/null2.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/null2.js b/jstests/core/null2.js
index 17b1a392714..841c26ac22f 100644
--- a/jstests/core/null2.js
+++ b/jstests/core/null2.js
@@ -19,7 +19,7 @@ function doQuery( query ) {
}
function getIds( query ) {
- var ids = []
+ var ids = [];
t.find( query ).forEach(
function(z) {
ids.push( z._id );
@@ -35,7 +35,7 @@ for ( var i=0; i < theQueries.length; i++ ) {
assert.eq( [2,4], getIds( theQueries[i] ) );
}
-t.ensureIndex( { "a.b" : 1 } )
+t.ensureIndex( { "a.b" : 1 } );
for ( var i=0; i < theQueries.length; i++ ) {
assert.eq( 2, doQuery( theQueries[i] ) );