summaryrefslogtreecommitdiff
path: root/jstests/core/evalh.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/evalh.js')
-rw-r--r--jstests/core/evalh.js5
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/core/evalh.js b/jstests/core/evalh.js
index 2a2b52bc5c3..1eb928bf47f 100644
--- a/jstests/core/evalh.js
+++ b/jstests/core/evalh.js
@@ -9,7 +9,6 @@
// Call the native implementation auth function and verify it does not exist under the db.eval
// javascript context.
- assert.throws(function() {
- db.eval('db.getMongo().auth("reader", "reader")');
- });
+ assert.throws( function() { db.eval('db.getMongo().auth("reader", "reader")'); });
})();
+