[Groonga-commit] groonga/gcs [master] Use "deepEqual" isntead of "equal" for hash

Back to archive index

null+****@clear***** null+****@clear*****
2012年 8月 2日 (木) 13:13:52 JST


SHIMODA Hiroshi	2012-08-02 13:13:52 +0900 (Thu, 02 Aug 2012)

  New Revision: 9ba76494bcb1acee53ff24944ea16e4918675d11
  https://github.com/groonga/gcs/commit/9ba76494bcb1acee53ff24944ea16e4918675d11

  Log:
    Use "deepEqual" isntead of "equal" for hash

  Modified files:
    test/database-domain.test.js

  Modified: test/database-domain.test.js (+2 -2)
===================================================================
--- test/database-domain.test.js    2012-08-02 13:12:51 +0900 (2ade44f)
+++ test/database-domain.test.js    2012-08-02 13:13:52 +0900 (89f7472)
@@ -216,8 +216,8 @@ suite('database', function() {
       });
 
       test('id for database (known table)', function() {
-        assert.equal({ id: domain.id, exists: domain.exists() },
-                     { id: 'id0123', exists: true });
+        assert.deepEqual({ id: domain.id, exists: domain.exists() },
+                         { id: 'id0123', exists: true });
       });
 
       test('id for database (unknown, new table)', function() {
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
다운로드 



Groonga-commit メーリングリストの案内
Back to archive index