[Groonga-commit] groonga/express-kotoumi [master] Fix inverted actual and expected values for assert.equal (3)

Back to archive index

YUKI Hiroshi null+****@clear*****
Tue Feb 5 17:36:10 JST 2013


YUKI Hiroshi	2013-02-05 17:36:10 +0900 (Tue, 05 Feb 2013)

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

  Log:
    Fix inverted actual and expected values for assert.equal (3)

  Modified files:
    test/frontend-rest-adaptor.test.js

  Modified: test/frontend-rest-adaptor.test.js (+1 -1)
===================================================================
--- test/frontend-rest-adaptor.test.js    2013-02-05 17:35:39 +0900 (347abaf)
+++ test/frontend-rest-adaptor.test.js    2013-02-05 17:36:10 +0900 (4d412cb)
@@ -79,7 +79,7 @@ suite('REST API', function() {
         })
         .get('/path/to/kotoumi/tables/foobar')
         .next(function(response) {
-          assert.equal('search OK', response.body);
+          assert.equal(response.body, 'search OK');
           done();
         })
         .error(function(error) {
-------------- next part --------------
HTML����������������������������...
Download 



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