diff options
Diffstat (limited to 'jstests/noPassthrough/configExpand_exec_wholeconfig.js')
-rw-r--r-- | jstests/noPassthrough/configExpand_exec_wholeconfig.js | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/jstests/noPassthrough/configExpand_exec_wholeconfig.js b/jstests/noPassthrough/configExpand_exec_wholeconfig.js index 9fac3848271..f4c0cf5dd78 100644 --- a/jstests/noPassthrough/configExpand_exec_wholeconfig.js +++ b/jstests/noPassthrough/configExpand_exec_wholeconfig.js @@ -1,14 +1,14 @@ // Test config file expansion using EXEC at top level. (function() { - 'use strict'; +'use strict'; - load('jstests/noPassthrough/libs/configExpand/lib.js'); +load('jstests/noPassthrough/libs/configExpand/lib.js'); - const yamlConfig = jsToYaml({setParameter: {scramIterationCount: 12345}}); - configExpandSuccess({__exec: makeReflectionCmd(yamlConfig), type: 'yaml'}, function(admin) { - const response = - assert.commandWorked(admin.runCommand({getParameter: 1, scramIterationCount: 1})); - assert.eq(response.scramIterationCount, 12345, "Incorrect derived config value"); - }); +const yamlConfig = jsToYaml({setParameter: {scramIterationCount: 12345}}); +configExpandSuccess({__exec: makeReflectionCmd(yamlConfig), type: 'yaml'}, function(admin) { + const response = + assert.commandWorked(admin.runCommand({getParameter: 1, scramIterationCount: 1})); + assert.eq(response.scramIterationCount, 12345, "Incorrect derived config value"); +}); })(); |