[Groonga-commit] groonga/gcs [master] Fix the way to get the value of NumSearchableDocs

Back to archive index

YUKI Hiroshi null+****@clear*****
Thu Nov 1 11:29:07 JST 2012


YUKI Hiroshi	2012-11-01 11:29:07 +0900 (Thu, 01 Nov 2012)

  New Revision: 0e3b981cdd5843f2d590d66a5c6c544dcb114bff
  https://github.com/groonga/gcs/commit/0e3b981cdd5843f2d590d66a5c6c544dcb114bff

  Log:
    Fix the way to get the value of NumSearchableDocs

  Modified files:
    test/api-configuration.test.js

  Modified: test/api-configuration.test.js (+2 -2)
===================================================================
--- test/api-configuration.test.js    2012-11-01 11:20:58 +0900 (bf91942)
+++ test/api-configuration.test.js    2012-11-01 11:29:07 +0900 (e98e754)
@@ -242,9 +242,9 @@ suite('Configuration API', function() {
           var recordsCount = response.body.DescribeDomainsResponse
                                           .DescribeDomainsResult
                                           .DomainStatusList
-                                          .member[0]
+                                          .member
                                           .NumSearchableDocs;
-          assert.equal(recordsCount, 10);
+          assert.equal(recordsCount, '10');
 
           done();
         })
-------------- next part --------------
HTML����������������������������...
Download 



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