couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dam...@apache.org
Subject svn commit: r779826 - /couchdb/trunk/share/www/script/test/view_errors.js
Date Fri, 29 May 2009 03:34:33 GMT
Author: damien
Date: Fri May 29 03:34:33 2009
New Revision: 779826

URL: http://svn.apache.org/viewvc?rev=779826&view=rev
Log:
Removed unfixed tests cases accidently checked in.

Modified:
    couchdb/trunk/share/www/script/test/view_errors.js

Modified: couchdb/trunk/share/www/script/test/view_errors.js
URL: http://svn.apache.org/viewvc/couchdb/trunk/share/www/script/test/view_errors.js?rev=779826&r1=779825&r2=779826&view=diff
==============================================================================
--- couchdb/trunk/share/www/script/test/view_errors.js (original)
+++ couchdb/trunk/share/www/script/test/view_errors.js Fri May 29 03:34:33 2009
@@ -94,15 +94,6 @@
   };
   T(db.save(designDoc2).ok);
   
-  var designDoc3 = {
-    _id:"_design/infinite",
-    language: "javascript",
-    views: {
-      "infinite_loop" :{map:"function(doc) {while(true){emit(doc,doc);}};"}
-    }
-  };
-  T(db.save(designDoc3).ok);
-  db.view("infinite/infinite_loop");
   try {
       db.view("test/no_reduce", {group: true});
       T(0 == 1);
@@ -124,13 +115,7 @@
   } catch(e) {
       T(e.error == "query_parse_error");
   }
-  db.view("infinite/infinite_loop");
-  try {
-      db.view("infinite/infinite_loop");
-      T(0 == 1);
-  } catch(e) {
-      T(e.error == "query_parse_error");
-  }
+    
   // Check error responses for invalid multi-get bodies.
   var path = "/test_suite_db/_design/test/_view/no_reduce";
   var xhr = CouchDB.request("POST", path, {body: "[]"});



Mime
View raw message