[Groonga-commit] groonga/gcs [master] Don't write fixed number as the expected length

Zurück zum Archiv-Index

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


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

  New Revision: 5d84cfa7e139fd586a47db1c2122f51f0b3b9e18
  https://github.com/groonga/gcs/commit/5d84cfa7e139fd586a47db1c2122f51f0b3b9e18

  Log:
    Don't write fixed number as the expected length

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

  Modified: test/database-domain.test.js (+1 -1)
===================================================================
--- test/database-domain.test.js    2012-08-02 13:30:29 +0900 (da45485)
+++ test/database-domain.test.js    2012-08-02 13:31:47 +0900 (e418be7)
@@ -226,7 +226,7 @@ suite('database', function() {
         assert.deepEqual({ idLength:     domain.id.length,
                            normalizedId: domain.id.replace(/[1-9a-z]/g, '0'),
                            exists:       domain.exists() },
-                         { idLength:     26,
+                         { idLength:     Domain.DEFAULT_ID.length,
                            normalizedId: Domain.DEFAULT_ID,
                            exists:       false });
       });
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
Download 



Groonga-commit メーリングリストの案内
Zurück zum Archiv-Index