diff options
Diffstat (limited to 'jstests/core/exists3.js')
-rw-r--r-- | jstests/core/exists3.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/exists3.js b/jstests/core/exists3.js index 53a69d6c3bb..c61f022939c 100644 --- a/jstests/core/exists3.js +++ b/jstests/core/exists3.js @@ -11,7 +11,7 @@ assert.eq( 1, t.find({c: {$exists: false}}).itcount() ); assert.eq( 1, t.find({c: {$exists: false}}).sort({c: -1}).itcount() ); // now we have an index on the sort key -t.ensureIndex({c: -1}) +t.ensureIndex({c: -1}); assert.eq( 1, t.find({c: {$exists: false}}).sort({c: -1}).itcount() ); assert.eq( 1, t.find({c: {$exists: false}}).itcount() ); |