summaryrefslogtreecommitdiff
path: root/jstests/noPassthroughWithMongod/recstore.js
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2016-03-09 12:17:50 -0500
committerJonathan Abrahams <jonathan@mongodb.com>2016-03-09 12:18:14 -0500
commit4ae691e8edc87d0e3cfb633bb91c328426be007b (patch)
tree52079a593f54382ca13a2e741633eab1b6271893 /jstests/noPassthroughWithMongod/recstore.js
parenta025d43f3ce2efc1fb1282a718f5d286fa0a4dc1 (diff)
downloadmongo-4ae691e8edc87d0e3cfb633bb91c328426be007b.tar.gz
SERVER-22468 Format JS code with approved style in jstests/
Diffstat (limited to 'jstests/noPassthroughWithMongod/recstore.js')
-rw-r--r--jstests/noPassthroughWithMongod/recstore.js16
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});