summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-03-21 18:25:32 +0000
committerJan Lehnardt <jan@apache.org>2010-03-21 18:25:32 +0000
commit801a8d7a41d09862437196fc12b80f1a979c2c99 (patch)
treea342b5e48369c4afbba2a5b88861ca30eef3c9d1 /share/www
parent25a3d8dfa982d6dd75bd96a42cf272400a2b38a3 (diff)
Make changes test pass in CLI runner & WebKit
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@925853 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/test/changes.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/share/www/script/test/changes.js b/share/www/script/test/changes.js
index a7703d77..b2c1a54c 100644
--- a/share/www/script/test/changes.js
+++ b/share/www/script/test/changes.js
@@ -258,7 +258,8 @@ couchTests.changes = function(debug) {
var req = CouchDB.request("GET",
"/test_suite_db/_changes?filter=changes_filter/bop&style=all_docs");
var resp = JSON.parse(req.responseText);
- TEquals(3, resp.results.length, "should return matching rows");
+ var expect = (!is_safari && xhr) ? 3: 1;
+ TEquals(expect, resp.results.length, "should return matching rows");
// test for userCtx
run_on_modified_server(