summaryrefslogtreecommitdiff
path: root/jstests/core/or5.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/or5.js')
-rw-r--r--jstests/core/or5.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/or5.js b/jstests/core/or5.js
index 7e61f9bf8cf..e0af20752f0 100644
--- a/jstests/core/or5.js
+++ b/jstests/core/or5.js
@@ -36,8 +36,8 @@ for (i = 2; i <= 7; ++i) {
t.ensureIndex({z: "2d"});
assert.throws.automsg(function() {
- return t.find({$or: [{z: {$near: [50, 50]}}, {a: 2}]}).toArray();
-});
+ return t.find({$or: [{z: {$near: [50, 50]}}, {a: 2}]}).toArray();
+ });
function reset() {
t.drop();