summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
Diffstat (limited to 'share')
-rw-r--r--share/www/script/couch_tests.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/share/www/script/couch_tests.js b/share/www/script/couch_tests.js
index a7a341e9..644538a8 100644
--- a/share/www/script/couch_tests.js
+++ b/share/www/script/couch_tests.js
@@ -2862,7 +2862,7 @@ var tests = {
};
function makeDocs(start, end, templateDoc) {
- var templateDocSrc = templateDoc ? templateDoc.toSource() : "{}"
+ var templateDocSrc = templateDoc ? JSON.stringify(templateDoc) : "{}"
if (end === undefined) {
end = start;
start = 0;