From 808d2b79f3b1075f4480e2d628d737f4ac82aba2 Mon Sep 17 00:00:00 2001 From: Robert Newson Date: Tue, 24 Aug 2010 18:42:15 +0000 Subject: correct fencepost error for last bytes range request. git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@988651 13f79535-47bb-0310-9956-ffa450edef68 --- share/www/script/test/attachment_ranges.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'share/www/script/test') diff --git a/share/www/script/test/attachment_ranges.js b/share/www/script/test/attachment_ranges.js index aa5edd38..807a13c8 100644 --- a/share/www/script/test/attachment_ranges.js +++ b/share/www/script/test/attachment_ranges.js @@ -108,9 +108,9 @@ couchTests.attachment_ranges = function(debug) { } }); TEquals(206, xhr.status); - TEquals("text", xhr.responseText); - TEquals("4", xhr.getResponseHeader("Content-Length")); - TEquals("bytes 25-28/29", xhr.getResponseHeader("Content-Range")); + TEquals("ext", xhr.responseText); + TEquals("3", xhr.getResponseHeader("Content-Length")); + TEquals("bytes 26-28/29", xhr.getResponseHeader("Content-Range")); }; -- cgit v1.2.3