[Groonga-commit] groonga/gcs [master] test: String may be passed for the synonym entry

Back to archive index

null+****@clear***** null+****@clear*****
2012年 7月 12日 (木) 16:10:11 JST


Yoji SHIDARA	2012-07-12 16:10:11 +0900 (Thu, 12 Jul 2012)

  New Revision: 1949129a114feaeb11fa01d05fbcae554b9f049f
  https://github.com/groonga/gcs/commit/1949129a114feaeb11fa01d05fbcae554b9f049f

  Log:
    test: String may be passed for the synonym entry

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

  Modified: test/api-configuration.test.js (+2 -2)
===================================================================
--- test/api-configuration.test.js    2012-07-12 15:45:51 +0900 (765b4ec)
+++ test/api-configuration.test.js    2012-07-12 16:10:11 +0900 (416e241)
@@ -554,7 +554,7 @@ suite('Configuration API', function() {
     var synonymsObject = {
       synonyms: {
         tokio: ["tokyo"],
-        dekkaido: ["hokkaido"]
+        dekkaido: "hokkaido"
       }
     };
     var json = JSON.stringify(synonymsObject);
@@ -575,7 +575,7 @@ suite('Configuration API', function() {
                 '<State>RequiresIndexDocuments</State>' +
                 '<UpdateDate>1970-01-01T00:00:00Z</UpdateDate>' +
               '</Status>' +
-              '<Options>{&quot;synonyms&quot;:{&quot;tokio&quot;:[&quot;tokyo&quot;],&quot;dekkaido&quot;:[&quot;hokkaido&quot;]}}</Options>' +
+              '<Options>{&quot;synonyms&quot;:{&quot;tokio&quot;:[&quot;tokyo&quot;],&quot;dekkaido&quot;:&quot;hokkaido&quot;}}</Options>' +
             '</Synonyms>' +
           '</UpdateSynonymOptionsResult>' +
           '<ResponseMetadata>' +
-------------- next part --------------
HTML$B$NE:IU%U%!%$%k$rJ]4I$7$^$7$?(B...
下载 



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