diff options
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) { |