summaryrefslogtreecommitdiff
path: root/share/www
diff options
context:
space:
mode:
authorJan Lehnardt <jan@apache.org>2010-06-03 15:09:47 +0000
committerJan Lehnardt <jan@apache.org>2010-06-03 15:09:47 +0000
commite15698f743f9b7013afbbba90acd4d45de72ca2b (patch)
treeaac4753f15b0534600d78051cdb2af110411b655 /share/www
parent6026881bc7949a0af6a213b0c87b0cb52ee3f059 (diff)
Fix test suite in Chromium. Patch by Glen Rempe. Closes COUCHDB-546
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@951023 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'share/www')
-rw-r--r--share/www/script/test/view_collation.js12
-rw-r--r--share/www/script/test/view_collation_raw.js12
2 files changed, 12 insertions, 12 deletions
diff --git a/share/www/script/test/view_collation.js b/share/www/script/test/view_collation.js
index f4ae4a15..b01a5c50 100644
--- a/share/www/script/test/view_collation.js
+++ b/share/www/script/test/view_collation.js
@@ -90,27 +90,27 @@ couchTests.view_collation = function(debug) {
// the inclusive_end=true functionality is limited to endkey currently
// if you need inclusive_start=false for startkey, please do implement. ;)
var rows = db.query(queryFun, null, {endkey : "b", inclusive_end:true}).rows;
- T(rows[rows.length-1].key == "b")
+ T(rows[rows.length-1].key == "b");
// descending=true
var rows = db.query(queryFun, null, {endkey : "b",
descending:true, inclusive_end:true}).rows;
- T(rows[rows.length-1].key == "b")
+ T(rows[rows.length-1].key == "b");
// test inclusive_end=false
var rows = db.query(queryFun, null, {endkey : "b", inclusive_end:false}).rows;
- T(rows[rows.length-1].key == "aa")
+ T(rows[rows.length-1].key == "aa");
// descending=true
var rows = db.query(queryFun, null, {endkey : "b",
descending:true, inclusive_end:false}).rows;
- T(rows[rows.length-1].key == "B")
+ T(rows[rows.length-1].key == "B");
var rows = db.query(queryFun, null, {
endkey : "b", endkey_docid: "10",
inclusive_end:false}).rows;
- T(rows[rows.length-1].key == "aa")
+ T(rows[rows.length-1].key == "aa");
var rows = db.query(queryFun, null, {
endkey : "b", endkey_docid: "11",
inclusive_end:false}).rows;
- T(rows[rows.length-1].key == "b")
+ T(rows[rows.length-1].key == "b");
};
diff --git a/share/www/script/test/view_collation_raw.js b/share/www/script/test/view_collation_raw.js
index 08f37fae..31624cdb 100644
--- a/share/www/script/test/view_collation_raw.js
+++ b/share/www/script/test/view_collation_raw.js
@@ -97,27 +97,27 @@ couchTests.view_collation_raw = function(debug) {
// the inclusive_end=true functionality is limited to endkey currently
// if you need inclusive_start=false for startkey, please do implement. ;)
var rows = db.view("test/test", {endkey : "b", inclusive_end:true}).rows;
- T(rows[rows.length-1].key == "b")
+ T(rows[rows.length-1].key == "b");
// descending=true
var rows = db.view("test/test", {endkey : "b",
descending:true, inclusive_end:true}).rows;
- T(rows[rows.length-1].key == "b")
+ T(rows[rows.length-1].key == "b");
// test inclusive_end=false
var rows = db.view("test/test", {endkey : "b", inclusive_end:false}).rows;
- T(rows[rows.length-1].key == "aa")
+ T(rows[rows.length-1].key == "aa");
// descending=true
var rows = db.view("test/test", {endkey : "b",
descending:true, inclusive_end:false}).rows;
- T(rows[rows.length-1].key == "ba")
+ T(rows[rows.length-1].key == "ba");
var rows = db.view("test/test", {
endkey : "b", endkey_docid: "10",
inclusive_end:false}).rows;
- T(rows[rows.length-1].key == "aa")
+ T(rows[rows.length-1].key == "aa");
var rows = db.view("test/test", {
endkey : "b", endkey_docid: "11",
inclusive_end:false}).rows;
- T(rows[rows.length-1].key == "aa")
+ T(rows[rows.length-1].key == "aa");
};