diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/recstore.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/recstore.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/jstests/noPassthroughWithMongod/recstore.js b/jstests/noPassthroughWithMongod/recstore.js index 339fdf2992c..fdb41af568b 100644 --- a/jstests/noPassthroughWithMongod/recstore.js +++ b/jstests/noPassthroughWithMongod/recstore.js @@ -7,16 +7,16 @@ t = db.storetest; t.drop(); -t.save({z:3}); -t.save({z:2}); +t.save({z: 3}); +t.save({z: 2}); -t.ensureIndex({z:1}); -t.ensureIndex({q:1}); -assert( t.find().sort({z:1})[0].z == 2 ); +t.ensureIndex({z: 1}); +t.ensureIndex({q: 1}); +assert(t.find().sort({z: 1})[0].z == 2); t.dropIndexes(); -assert( t.find().sort({z:1})[0].z == 2 ); +assert(t.find().sort({z: 1})[0].z == 2); -t.ensureIndex({z:1}); -t.ensureIndex({q:1}); +t.ensureIndex({z: 1}); +t.ensureIndex({q: 1}); |