[Groonga-commit] groonga/express-kotoumi [master] Define "close" method for stubbed connections

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Feb 5 17:49:46 JST 2013


YUKI Hiroshi	2013-02-05 17:49:46 +0900 (Tue, 05 Feb 2013)

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

  Log:
    Define "close" method for stubbed connections

  Modified files:
    test/test-utils.js

  Modified: test/test-utils.js (+2 -1)
===================================================================
--- test/test-utils.js    2013-02-05 17:47:22 +0900 (d4d4505)
+++ test/test-utils.js    2013-02-05 17:49:46 +0900 (f33a83c)
@@ -163,7 +163,8 @@ function createStubbedBackendConnection() {
     emit: function() {},
     on: function() {},
     removeListener: function() {},
-    removeAllListeners: function() {}
+    removeAllListeners: function() {},
+    close: function() {}
   };
 }
 exports.createStubbedBackendConnection = createStubbedBackendConnection;
-------------- next part --------------
HTML����������������������������...
Download 



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