summaryrefslogtreecommitdiff
path: root/jstests/core/profile1.js
diff options
context:
space:
mode:
authorMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
committerMark Benvenuto <mark.benvenuto@mongodb.com>2016-05-28 17:55:12 -0400
commit6dcdd23dd37ef12c87e71cf59ef01cd82432efe0 (patch)
treec8cfb5acb62c80f375bc37e7d4350382deea6a37 /jstests/core/profile1.js
parentd4ac5673ea3f6cef4ce9dbcec90e31813997a528 (diff)
downloadmongo-6dcdd23dd37ef12c87e71cf59ef01cd82432efe0.tar.gz
SERVER-23971 Clang-Format code
Diffstat (limited to 'jstests/core/profile1.js')
-rw-r--r--jstests/core/profile1.js8
1 files changed, 2 insertions, 6 deletions
diff --git a/jstests/core/profile1.js b/jstests/core/profile1.js
index 67f4a53d2b9..b1024f6668c 100644
--- a/jstests/core/profile1.js
+++ b/jstests/core/profile1.js
@@ -87,12 +87,8 @@
resetProfile(2);
db.profile1.drop();
- var q = {
- _id: 5
- };
- var u = {
- $inc: {x: 1}
- };
+ var q = {_id: 5};
+ var u = {$inc: {x: 1}};
db.profile1.update(q, u);
var r = profileCursor({ns: db.profile1.getFullName()}).sort({$natural: -1})[0];
assert.eq(q, r.query, "Y1: " + tojson(r));