summaryrefslogtreecommitdiff
path: root/jstests/core/user_management_helpers.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/user_management_helpers.js')
-rw-r--r--jstests/core/user_management_helpers.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/user_management_helpers.js b/jstests/core/user_management_helpers.js
index 43346c848f1..e06302deba5 100644
--- a/jstests/core/user_management_helpers.js
+++ b/jstests/core/user_management_helpers.js
@@ -68,7 +68,7 @@ function runTest(db) {
assert.eq(null, db.getUser('andy'));
// Test dropAllUsers
- db.dropAllUsers()
+ db.dropAllUsers();
assert.eq(0, db.getUsers().length);
// Test password digestion
@@ -91,7 +91,7 @@ function runTest(db) {
assert(db.auth('user1', 'y'));
assert(db.auth('user2', 'y'));
-};
+}
try {
runTest(db);