summaryrefslogtreecommitdiff
path: root/jstests/core/test_command_line_test_helpers.js
diff options
context:
space:
mode:
authorJonathan Abrahams <jonathan@mongodb.com>2016-03-09 12:27:20 -0500
committerJonathan Abrahams <jonathan@mongodb.com>2016-03-09 12:27:56 -0500
commit8c5ff5834ab1f61e68b7839cd99c3de1f87c2121 (patch)
treeef4d91cc230300a6a48eeeac696ca15df6db1212 /jstests/core/test_command_line_test_helpers.js
parent0875be78b405016736ff42e3a50166be7561c2f8 (diff)
downloadmongo-8c5ff5834ab1f61e68b7839cd99c3de1f87c2121.tar.gz
SERVER-22468 Format JS code with approved style in jstests/
Diffstat (limited to 'jstests/core/test_command_line_test_helpers.js')
-rw-r--r--jstests/core/test_command_line_test_helpers.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/jstests/core/test_command_line_test_helpers.js b/jstests/core/test_command_line_test_helpers.js
index a66bd713327..6e001075ee0 100644
--- a/jstests/core/test_command_line_test_helpers.js
+++ b/jstests/core/test_command_line_test_helpers.js
@@ -1,6 +1,6 @@
load('jstests/libs/command_line/test_parsed_options.js');
-assert.docEq({ x : 1, y : 1 }, mergeOptions({ x : 1 }, { y : 1 }));
-assert.docEq({ x : 1, y : 1 }, mergeOptions({ x : 1, y : 2 }, { y : 1 }));
-assert.docEq({ x : { z : 1 }, y : 1 }, mergeOptions({ x : { z : 1 } }, { y : 1 }));
-assert.docEq({ x : { z : 1 } }, mergeOptions({ x : { z : 2 } }, { x : { z : 1 } }));
+assert.docEq({x: 1, y: 1}, mergeOptions({x: 1}, {y: 1}));
+assert.docEq({x: 1, y: 1}, mergeOptions({x: 1, y: 2}, {y: 1}));
+assert.docEq({x: {z: 1}, y: 1}, mergeOptions({x: {z: 1}}, {y: 1}));
+assert.docEq({x: {z: 1}}, mergeOptions({x: {z: 2}}, {x: {z: 1}}));