summaryrefslogtreecommitdiff
path: root/jstests/core/exists4.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/exists4.js')
-rw-r--r--jstests/core/exists4.js16
1 files changed, 7 insertions, 9 deletions
diff --git a/jstests/core/exists4.js b/jstests/core/exists4.js
index 097a3462da9..2979a60f276 100644
--- a/jstests/core/exists4.js
+++ b/jstests/core/exists4.js
@@ -34,12 +34,10 @@ assert.eq(
3,
t.find({date: new Date("08/27/2010"), country_code: {$exists: true}, user_id: {$exists: true}})
.count());
-assert.eq(2,
- t.find({
- date: new Date("08/27/2010"),
- country_code: {$exists: true},
- user_id: {$exists: false}
- }).count());
-assert.eq(2,
- t.find({date: new Date("08/27/2010"), country_code: {$exists: true}, user_id: null})
- .count());
+assert.eq(
+ 2,
+ t.find({date: new Date("08/27/2010"), country_code: {$exists: true}, user_id: {$exists: false}})
+ .count());
+assert.eq(
+ 2,
+ t.find({date: new Date("08/27/2010"), country_code: {$exists: true}, user_id: null}).count());