[Groonga-commit] groonga/express-kotoumi [master] Rename variable for server port number: testPort => testServerPort

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Jan 16 16:57:20 JST 2013


YUKI Hiroshi	2013-01-16 16:57:20 +0900 (Wed, 16 Jan 2013)

  New Revision: eb969084e1b4d5bb6e412f4f13fce1f4db9ef943
  https://github.com/groonga/express-kotoumi/commit/eb969084e1b4d5bb6e412f4f13fce1f4db9ef943

  Log:
    Rename variable for server port number: testPort => testServerPort

  Modified files:
    test/test-utils.js

  Modified: test/test-utils.js (+2 -2)
===================================================================
--- test/test-utils.js    2013-01-16 16:56:49 +0900 (9c6bf50)
+++ test/test-utils.js    2013-01-16 16:57:20 +0900 (bce9f10)
@@ -73,7 +73,7 @@ var testServerPort = 3334;
 
 function setupServer(handler) {
   var server = http.createServer(handler);
-  server.listen(testPort);
+  server.listen(testServerPort);
   return server;
 }
 exports.setupServer = setupServer;
@@ -83,7 +83,7 @@ function sendRequest(method, path, postData, headers) {
 
   var options = {
         host: 'localhost',
-        port: testPort,
+        port: testServerPort,
         path: path,
         method: method,
         headers: {}
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index