diff options
author | clang-format-7.0.1 <adam.martin@10gen.com> | 2019-07-26 18:20:35 -0400 |
---|---|---|
committer | ADAM David Alan Martin <adam.martin@10gen.com> | 2019-07-27 11:02:23 -0400 |
commit | 134a4083953270e8a11430395357fb70a29047ad (patch) | |
tree | dd428e1230e31d92b20b393dfdc17ffe7fa79cb6 /jstests/core/constructors.js | |
parent | 1e46b5049003f427047e723ea5fab15b5a9253ca (diff) | |
download | mongo-134a4083953270e8a11430395357fb70a29047ad.tar.gz |
SERVER-41772 Apply clang-format 7.0.1 to the codebase
Diffstat (limited to 'jstests/core/constructors.js')
-rw-r--r-- | jstests/core/constructors.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/core/constructors.js b/jstests/core/constructors.js index 27b0b7f7406..0e28150e701 100644 --- a/jstests/core/constructors.js +++ b/jstests/core/constructors.js @@ -26,7 +26,7 @@ function clientEvalConstructorTest(constructorList) { try { eval(constructor); } catch (e) { - throw("valid constructor: " + constructor + " failed in eval context: " + e); + throw ("valid constructor: " + constructor + " failed in eval context: " + e); } }); constructorList.invalid.forEach(function(constructor) { @@ -56,7 +56,7 @@ function mapReduceConstructorTest(constructorList) { res = t.mapReduce(m, r, {out: "mr_constructors_out", scope: {xx: 1}}); } catch (e) { - throw("valid constructor: " + constructor + " failed in mapReduce context: " + e); + throw ("valid constructor: " + constructor + " failed in mapReduce context: " + e); } }); constructorList.invalid.forEach(function(constructor) { @@ -83,7 +83,7 @@ function whereConstructorTest(constructorList) { try { t.findOne({$where: constructor}); } catch (e) { - throw("valid constructor: " + constructor + " failed in $where query: " + e); + throw ("valid constructor: " + constructor + " failed in $where query: " + e); } }); constructorList.invalid.forEach(function(constructor) { |