diff options
Diffstat (limited to 'jstests/auth/pseudo_commands.js')
-rw-r--r-- | jstests/auth/pseudo_commands.js | 8 |
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); })(); |