[Groonga-commit] groonga/express-droonga at 6e6934c [master] test: add missing JSON.stringify

Back to archive index

Kouhei Sutou null+****@clear*****
Sun Jul 21 17:47:56 JST 2013


Kouhei Sutou	2013-07-21 17:47:56 +0900 (Sun, 21 Jul 2013)

  New Revision: 6e6934c245448ca70b54833b35a7d3666a85c33c
  https://github.com/groonga/express-droonga/commit/6e6934c245448ca70b54833b35a7d3666a85c33c

  Message:
    test: add missing JSON.stringify
    
    The response object is JSON format.

  Modified files:
    test/express-adaptor.test.js

  Modified: test/express-adaptor.test.js (+1 -1)
===================================================================
--- test/express-adaptor.test.js    2013-07-21 17:45:59 +0900 (9a13e94)
+++ test/express-adaptor.test.js    2013-07-21 17:47:56 +0900 (6970549)
@@ -100,7 +100,7 @@ suite('Adaption for express application', function() {
         })
         .wait(0.01)
         .next(function() {
-          assert.equal(responseBody, 'api OK');
+          assert.equal(responseBody, JSON.stringify('api OK'));
           done();
         })
         .error(function(error) {
-------------- next part --------------
HTML����������������������������...
Download 



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