summaryrefslogtreecommitdiff
path: root/jstests/core/where1.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/where1.js')
-rw-r--r--jstests/core/where1.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/where1.js b/jstests/core/where1.js
index 85466901016..53441580b90 100644
--- a/jstests/core/where1.js
+++ b/jstests/core/where1.js
@@ -8,8 +8,8 @@ t.save({a: 3});
assert.eq(1,
t.find(function() {
- return this.a == 2;
- }).length(),
+ return this.a == 2;
+ }).length(),
"A");
assert.eq(1, t.find({$where: "return this.a == 2"}).toArray().length, "B");