summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/shell_quit.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/shell_quit.js')
-rw-r--r--jstests/noPassthrough/shell_quit.js26
1 files changed, 13 insertions, 13 deletions
diff --git a/jstests/noPassthrough/shell_quit.js b/jstests/noPassthrough/shell_quit.js
index 7ff45368f00..17721119846 100644
--- a/jstests/noPassthrough/shell_quit.js
+++ b/jstests/noPassthrough/shell_quit.js
@@ -1,17 +1,17 @@
(function() {
- 'use strict';
- var checkShell = function(retCode) {
- var args = [
- "mongo",
- "--nodb",
- "--eval",
- "quit(" + retCode + ");",
- ];
+'use strict';
+var checkShell = function(retCode) {
+ var args = [
+ "mongo",
+ "--nodb",
+ "--eval",
+ "quit(" + retCode + ");",
+ ];
- var actualRetCode = _runMongoProgram.apply(null, args);
- assert.eq(retCode, actualRetCode);
- };
+ var actualRetCode = _runMongoProgram.apply(null, args);
+ assert.eq(retCode, actualRetCode);
+};
- checkShell(0);
- checkShell(5);
+checkShell(0);
+checkShell(5);
})();