YUKI Hiroshi
null+****@clear*****
Tue Feb 5 17:35:39 JST 2013
YUKI Hiroshi 2013-02-05 17:35:39 +0900 (Tue, 05 Feb 2013) New Revision: 58f49b1df3e301ad1f6c810490606e24c2829204 https://github.com/groonga/express-kotoumi/commit/58f49b1df3e301ad1f6c810490606e24c2829204 Log: Fix inverted actual and expected values for assert.equal (2) Modified files: test/express-adaptor.test.js Modified: test/express-adaptor.test.js (+2 -2) =================================================================== --- test/express-adaptor.test.js 2013-02-05 17:34:33 +0900 (98e2d30) +++ test/express-adaptor.test.js 2013-02-05 17:35:39 +0900 (2dc9f08) @@ -46,7 +46,7 @@ suite('Adaption for express application', function() { }) .get('/tables/foobar') .next(function(response) { - assert.equal('search OK', response.body); + assert.equal(response.body, 'search OK'); done(); }) .error(function(error) { @@ -68,7 +68,7 @@ suite('Adaption for express application', 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