YUKI Piro Hiroshi
null+****@clear*****
Sat Oct 18 00:08:50 JST 2014
YUKI "Piro" Hiroshi 2014-10-18 00:08:50 +0900 (Sat, 18 Oct 2014) New Revision: 8f58b9d963d02997f354ad47e1efef791801e3f3 https://github.com/droonga/express-droonga/commit/8f58b9d963d02997f354ad47e1efef791801e3f3 Message: Compare arrays correctly Modified files: test/droonga-protocol/connection-pool.test.js Modified: test/droonga-protocol/connection-pool.test.js (+6 -6) =================================================================== --- test/droonga-protocol/connection-pool.test.js 2014-10-18 00:05:55 +0900 (9f4ac88) +++ test/droonga-protocol/connection-pool.test.js 2014-10-18 00:08:50 +0900 (68c5fe7) @@ -101,12 +101,12 @@ suite('ConnectionPool', function() { assert.isNotNull(connection); connections.push(connection); - assert.equal([connections[0].hostName, - connections[1].hostName, - connections[2].hostName], - [connections[3].hostName, - connections[4].hostName, - connections[5].hostName]); + assert.deepEqual([connections[0].hostName, + connections[1].hostName, + connections[2].hostName], + [connections[3].hostName, + connections[4].hostName, + connections[5].hostName]); }); }); }); -------------- next part -------------- HTML����������������������������...Download