summaryrefslogtreecommitdiff
path: root/jstests/core/where3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/where3.js')
-rw-r--r--jstests/core/where3.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/where3.js b/jstests/core/where3.js
index 633276489a5..e26b36ffcf4 100644
--- a/jstests/core/where3.js
+++ b/jstests/core/where3.js
@@ -7,8 +7,8 @@ t.save({returned_date: 6});
assert.eq(1,
t.find(function() {
- return this.returned_date == 5;
- }).count(),
+ return this.returned_date == 5;
+ }).count(),
"A");
assert.eq(1, t.find({$where: "return this.returned_date == 5;"}).count(), "B");
assert.eq(1, t.find({$where: "this.returned_date == 5;"}).count(), "C");