[Groonga-commit] droonga/express-droonga at 691f477 [master] Echo given messages

Zurück zum Archiv-Index

YUKI Hiroshi null+****@clear*****
Fri Oct 17 18:05:38 JST 2014


YUKI Hiroshi	2014-10-17 18:05:38 +0900 (Fri, 17 Oct 2014)

  New Revision: 691f4772a77b23e28eff56639e19eb888f2dca8b
  https://github.com/droonga/express-droonga/commit/691f4772a77b23e28eff56639e19eb888f2dca8b

  Message:
    Echo given messages

  Modified files:
    test/test-utils.js

  Modified: test/test-utils.js (+6 -2)
===================================================================
--- test/test-utils.js    2014-10-17 18:03:31 +0900 (090009a)
+++ test/test-utils.js    2014-10-17 18:05:38 +0900 (cda6342)
@@ -218,8 +218,12 @@ function createStubbedBackendConnection(hostName) {
 
       this.emitMessageCalledArguments.push(args);
 
-      if (typeof callback == 'function')
-        callback(null, { type: type + '.result', message: {} });
+      if (typeof callback == 'function') {
+        callback(null, {
+          type: type + '.result',
+          message: message
+        });
+      }
     },
     emitMessageCalledArguments: [],
     getRouteToSelf: function() {
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Zurück zum Archiv-Index