summaryrefslogtreecommitdiff
path: root/jstests/core/depth_limit.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/depth_limit.js')
-rw-r--r--jstests/core/depth_limit.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/depth_limit.js b/jstests/core/depth_limit.js
index 7523a1fc9fe..3a8ef2460ca 100644
--- a/jstests/core/depth_limit.js
+++ b/jstests/core/depth_limit.js
@@ -3,11 +3,11 @@
function test() {
function assertTooBig(obj) {
// This used to crash rather than throwing an exception.
- assert.throws(function(){Object.bsonsize(obj)});
+ assert.throws(function(){Object.bsonsize(obj);});
}
function assertNotTooBig(obj) {
- assert.doesNotThrow(function(){Object.bsonsize(obj)});
+ assert.doesNotThrow(function(){Object.bsonsize(obj);});
}
function objWithDepth(depth) {