summaryrefslogtreecommitdiff
path: root/test/test.js
diff options
context:
space:
mode:
authorNoah Slater <nslater@apache.org>2009-07-06 00:33:50 +0000
committerNoah Slater <nslater@apache.org>2009-07-06 00:33:50 +0000
commit282b96ddd9a84b740788c2358ec0f5fedafb7cc6 (patch)
treefb48e605ceb8079d0195d3b1ec0eca7110fa7ef2 /test/test.js
parentb5cc085d3bc6316063f14adedf20632ee904875d (diff)
trimmed trailing whitespace
git-svn-id: https://svn.apache.org/repos/asf/couchdb/trunk@791350 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'test/test.js')
-rw-r--r--test/test.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/test.js b/test/test.js
index f3990966..07988085 100644
--- a/test/test.js
+++ b/test/test.js
@@ -56,7 +56,7 @@ var HTTP = (function() {
var body = parts.pop();
var header = parts.pop();
var headers = header.split(/\n/);
-
+
var status = /HTTP\/1.\d (\d*)/.exec(header)[1];
return {
responseText: body,
@@ -83,7 +83,7 @@ var HTTP = (function() {
HEAD : function(url, body, headers) {
var st, urx = url, hx = (headers || null);
st = headhttp(urx, hx);
- return parseCurl(st);
+ return parseCurl(st);
},
DELETE : function(url, body, headers) {
var st, urx = url, hx = (headers || null);
@@ -202,7 +202,7 @@ function runAllTestsConsole() {
} else {
numTests += 1;
var testFun = couchTests[t];
- runTestConsole(testFun, debug);
+ runTestConsole(testFun, debug);
}
}
p("Results: "+numFailures.toString() + " failures in "+numTests+" tests.")