[Groonga-commit] groonga/gcs [master] Update description of search API tests

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Aug 24 15:56:12 JST 2012


YUKI Hiroshi	2012-08-24 15:56:12 +0900 (Fri, 24 Aug 2012)

  New Revision: 679e6ccf712cbf1806c135742cda629d58c169d2
  https://github.com/groonga/gcs/commit/679e6ccf712cbf1806c135742cda629d58c169d2

  Log:
    Update description of search API tests

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

  Modified: test/api-search.test.js (+2 -1)
===================================================================
--- test/api-search.test.js    2012-08-24 15:54:11 +0900 (8fa4083)
+++ test/api-search.test.js    2012-08-24 15:56:12 +0900 (f6bec6f)
@@ -123,7 +123,7 @@ suite('Search API', function() {
     );
 
     testSearch('/2011-02-01/search?q=Hongo&' +
-                 'return-fields=address,description,name,age,product',
+                 'return-fields=address,description,name,age,product,unknown',
                'should return field values of result returnable fields ' +
                  'in the list of return-fields',
                'search-companies-00000000000000000000000000.localhost',
@@ -142,6 +142,7 @@ suite('Search API', function() {
                 name: ['ClearCode Inc.'],
                 age: [3],
                 product: ['groonga']
+                // unknown (missing) field is simply ignored.
               }
             }]
           },
-------------- next part --------------
HTML����������������������������...
Download 



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