diff options
Diffstat (limited to 'share/www/script/test/reduce.js')
-rw-r--r-- | share/www/script/test/reduce.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/share/www/script/test/reduce.js b/share/www/script/test/reduce.js index c8bdcd92..84230998 100644 --- a/share/www/script/test/reduce.js +++ b/share/www/script/test/reduce.js @@ -159,11 +159,11 @@ couchTests.reduce = function(debug) { docs.push({val:100}); db.bulkSave(docs); } - + var results = db.query(map, reduceCombine); - + var difference = results.rows[0].value.stdDeviation - 28.722813232690143; // account for floating point rounding error T(Math.abs(difference) < 0.0000000001); - + }; |