summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/javascript_options.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/noPassthrough/javascript_options.js')
-rw-r--r--jstests/noPassthrough/javascript_options.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/noPassthrough/javascript_options.js b/jstests/noPassthrough/javascript_options.js
index e0f1690bd5d..52cc641b274 100644
--- a/jstests/noPassthrough/javascript_options.js
+++ b/jstests/noPassthrough/javascript_options.js
@@ -3,9 +3,7 @@ var baseName = "jstests_nopassthrough_javascript_options";
load('jstests/libs/command_line/test_parsed_options.js');
jsTest.log("Testing \"noscripting\" command line option");
-var expectedResult = {
- "parsed": {"security": {"javascriptEnabled": false}}
-};
+var expectedResult = {"parsed": {"security": {"javascriptEnabled": false}}};
testGetCmdLineOptsMongod({noscripting: ""}, expectedResult);
jsTest.log("Testing explicitly disabled \"noscripting\" config file option");