couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From rand...@apache.org
Subject [2/3] git commit: fix COUCHDB-1361 - unquoted port in js config test
Date Mon, 12 Dec 2011 22:36:13 GMT
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/7f9376ce
Tree: http://git-wip-us.apache.org/repos/asf/couchdb/tree/7f9376ce
Diff: http://git-wip-us.apache.org/repos/asf/couchdb/diff/7f9376ce

Branch: refs/heads/1.2.x
Commit: 7f9376ce6aeb80dcc685fc95c87a4d1be64261ee
Parents: 0d44192
Author: Randall Leeds <randall@apache.org>
Authored: Mon Dec 12 14:21:38 2011 -0800
Committer: Randall Leeds <randall@apache.org>
Committed: Mon Dec 12 14:23:04 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/7f9376ce/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();


Mime
View raw message