From b4946c30a8df3326b53f58ab5c7e58dc49fa2ee8 Mon Sep 17 00:00:00 2001 From: John Christopher Anderson Date: Thu, 8 Apr 2010 00:07:22 +0000 Subject: fix last straggler view update_seq bugs, thanks tisba and bitdiddle for the report git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@931731 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/list_views.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'share') diff --git a/share/www/script/test/list_views.js b/share/www/script/test/list_views.js index 54214c2c..97a37e48 100644 --- a/share/www/script/test/list_views.js +++ b/share/www/script/test/list_views.js @@ -223,7 +223,10 @@ couchTests.list_views = function(debug) { xhr = CouchDB.request("GET", "/test_suite_db/_design/lists/_list/basicJSON/basicView"); T(xhr.status == 200, "standard get should be 200"); var resp = JSON.parse(xhr.responseText); - TEquals(resp.head, {total_rows:10, offset:0}); + TEquals(10, resp.head.total_rows); + TEquals(0, resp.head.offset); + TEquals(11, resp.head.update_seq); + T(resp.rows.length == 10); TEquals(resp.rows[0], {"id": "0","key": 0,"value": "0"}); -- cgit v1.2.3