You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ra...@apache.org on 2011/12/12 23:36:13 UTC

[1/3] git commit: fix COUCHDB-1361 - unquoted port in js config test

Updated Branches:
  refs/heads/1.1.x 3108a12ee -> c9b20f290
  refs/heads/1.2.x 0d44192a1 -> 7f9376ce6
  refs/heads/master d767cf0c2 -> 0658d982e


fix COUCHDB-1361 - unquoted port in js config test

TEquals() does a triple equals comparison so the type needs to agree.
Configuration values are strings.


Project: http://git-wip-us.apache.org/repos/asf/couchdb/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb/commit/c9b20f29
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/c9b20f29
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/c9b20f29

Branch: refs/heads/1.1.x
Commit: c9b20f2909133af57adecc8d9dfb00c78ecdc0c2
Parents: 3108a12
Author: Randall Leeds <ra...@apache.org>
Authored: Mon Dec 12 14:21:38 2011 -0800
Committer: Randall Leeds <ra...@apache.org>
Committed: Mon Dec 12 14:23:35 2011 -0800

----------------------------------------------------------------------
 share/www/script/test/config.js |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb/blob/c9b20f29/share/www/script/test/config.js
----------------------------------------------------------------------
diff --git a/share/www/script/test/config.js b/share/www/script/test/config.js
index e83ecfd..9e4ae35 100644
--- a/share/www/script/test/config.js
+++ b/share/www/script/test/config.js
@@ -30,10 +30,10 @@ couchTests.config = function(debug) {
   var server_port = CouchDB.host.split(':');
   if(server_port.length == 1 && CouchDB.inBrowser) {
     if(CouchDB.protocol == "http://") {
-      port = 80;
+      port = "80";
     }
     if(CouchDB.protocol == "https://") {
-      port = 443;
+      port = "443";
     }
   } else {
     port = server_port.pop();