summaryrefslogtreecommitdiff
path: root/jstests/core/evalh.js
diff options
context:
space:
mode:
authorCharlie Swanson <cswanson310@gmail.com>2016-09-23 11:14:37 -0400
committerCharlie Swanson <cswanson310@gmail.com>2016-09-23 11:14:37 -0400
commitf325d3a5be42c9db015005a93bb3948109d09c1e (patch)
tree19c229c03eb774d3d2dc458caaa5be7cafdbc148 /jstests/core/evalh.js
parent637553798fe8e12a63fa083b1f281880e3ae40be (diff)
downloadmongo-f325d3a5be42c9db015005a93bb3948109d09c1e.tar.gz
Revert "fix lint"
This reverts commit 0ef4cce98ab2bb45e2fa6e947014795148925d74.
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")'); });
})();
+