couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From j..@apache.org
Subject svn commit: r951023 - in /couchdb/trunk/share/www/script/test: view_collation.js view_collation_raw.js
Date Thu, 03 Jun 2010 15:09:47 GMT
Author: jan
Date: Thu Jun  3 15:09:47 2010
New Revision: 951023

URL: http://svn.apache.org/viewvc?rev=951023&view=rev
Log:
Fix test suite in Chromium. Patch by Glen Rempe. Closes COUCHDB-546

Modified:
    couchdb/trunk/share/www/script/test/view_collation.js
    couchdb/trunk/share/www/script/test/view_collation_raw.js

Modified: couchdb/trunk/share/www/script/test/view_collation.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/view_collation.js?rev=951023&r1=951022&r2=951023&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/test/view_collation.js (original)
+++ couchdb/trunk/share/www/script/test/view_collation.js Thu Jun  3 15:09:47 2010
@@ -90,27 +90,27 @@ couchTests.view_collation = function(deb
   // 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");
 };

Modified: couchdb/trunk/share/www/script/test/view_collation_raw.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/view_collation_raw.js?rev=951023&r1=951022&r2=951023&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/test/view_collation_raw.js (original)
+++ couchdb/trunk/share/www/script/test/view_collation_raw.js Thu Jun  3 15:09:47 2010
@@ -97,27 +97,27 @@ couchTests.view_collation_raw = function
   // 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");
 };



Mime
View raw message