[Groonga-commit] groonga/express-kotoumi [master] test: Fix minor errors

Back to archive index

YUKI Hiroshi null+****@clear*****
Wed Feb 13 13:10:41 JST 2013


YUKI Hiroshi	2013-02-13 13:10:41 +0900 (Wed, 13 Feb 2013)

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

  Log:
    test: Fix minor errors

  Modified files:
    test/backend-connection.test.js

  Modified: test/backend-connection.test.js (+3 -3)
===================================================================
--- test/backend-connection.test.js    2013-02-13 13:03:42 +0900 (4442092)
+++ test/backend-connection.test.js    2013-02-13 13:10:41 +0900 (7b04ba5)
@@ -284,7 +284,7 @@ suite('Connection, simple communication', function() {
         createReplyEnvelopeFor(messages.notTimedOut, 'ok', Math.random()),
       timedOut:
         createReplyEnvelopeFor(messages.timedOut, 'ignored', Math.random())
-    ];
+    };
     callback
       .takes(Connection.ERROR_GATEWAY_TIMEOUT, null)
       .takes(null, responses.notTimedOut)
@@ -304,8 +304,8 @@ suite('Connection, simple communication', function() {
         );
       })
       .wait(0.02)
-      .sendPacketTo(responses.notTimedOut, utils.testReceivePort)
-      .sendPacketTo(responses.timedOut, utils.testReceivePort)
+      .sendPacketTo(createPacket(responses.notTimedOut), utils.testReceivePort)
+      .sendPacketTo(createPacket(responses.timedOut), utils.testReceivePort)
       .wait(0.01)
       .next(function() {
         callback.assert();
-------------- next part --------------
HTML����������������������������...
Download 



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