summaryrefslogtreecommitdiff
path: root/jstests/auth/pseudo_commands.js
diff options
context:
space:
mode:
authorMike Grundy <michael.grundy@10gen.com>2016-02-04 12:27:19 -0500
committerMike Grundy <michael.grundy@10gen.com>2016-02-05 15:00:49 -0500
commitc070452eed7d4dc7be2ebff083e0830d3d486896 (patch)
treef31b3f274c4d2e82b47ad8dc83fa73a77aa65488 /jstests/auth/pseudo_commands.js
parentbca7050e6f207a8cec2423bc1a5f3a0645bb1cac (diff)
downloadmongo-c070452eed7d4dc7be2ebff083e0830d3d486896.tar.gz
SERVER-22341 fix jslint errors in jstests/auth with eslint --fix
Diffstat (limited to 'jstests/auth/pseudo_commands.js')
-rw-r--r--jstests/auth/pseudo_commands.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/auth/pseudo_commands.js b/jstests/auth/pseudo_commands.js
index be02c2534f0..629b1fde0d3 100644
--- a/jstests/auth/pseudo_commands.js
+++ b/jstests/auth/pseudo_commands.js
@@ -47,7 +47,7 @@ function runTest(conn) {
function isMongos(db) {
var res = db.adminCommand({isdbgrid: 1});
return (res.ok == 1 && res.isdbgrid == 1);
- };
+ }
(function testInprog() {
@@ -83,7 +83,7 @@ function runTest(conn) {
if (shouldPass) {
assert.gte(res.inprog.length, 0);
}
- }
+ };
testProperAuthorization(testFunc, roles, privilege);
})();
@@ -124,7 +124,7 @@ function runTest(conn) {
passed = false;
}
assert.eq(shouldPass, passed);
- }
+ };
testProperAuthorization(testFunc, roles, privilege);
})();
@@ -175,7 +175,7 @@ function runTest(conn) {
}
assert.eq(shouldPass, passed);
- }
+ };
testProperAuthorization(testFunc, roles, privilege);
})();