[Groonga-commit] groonga/groonga [master] [test][query-expansion] use more meaningful test value.

Back to archive index

null+****@clear***** null+****@clear*****
2011年 9月 11日 (日) 21:54:32 JST


Kouhei Sutou	2011-09-11 12:54:32 +0000 (Sun, 11 Sep 2011)

  New Revision: bfe776da07ec96dd3997ae382e29b32f3c8937f5

  Log:
    [test][query-expansion] use more meaningful test value.

  Modified files:
    test/unit/core/test-command-select-query-expansion.c

  Modified: test/unit/core/test-command-select-query-expansion.c (+2 -2)
===================================================================
--- test/unit/core/test-command-select-query-expansion.c    2011-09-11 12:50:28 +0000 (e15bb53)
+++ test/unit/core/test-command-select-query-expansion.c    2011-09-11 12:54:32 +0000 (7049cc3)
@@ -115,7 +115,7 @@ setup_data(void)
                       "[\"*\", \"前方一致\"],\n"
                       "[\"(\", \"かっこ\"],\n"
                       "[\")\", \"こっか\"]\n"
-                      "[\"=\", \"\\\"Start rroonga!\\\"\"]\n"
+                      "[\"=start-rroonga\", \"\\\"Start rroonga!\\\"\"]\n"
                       "]");
 }
 
@@ -236,7 +236,7 @@ test_expand_equal(void)
         "[\"content\",\"Text\"]],"
         "[3,1315839600.0,\"Start rroonga!\"]]]",
     send_command("select Diaries --sortby _id "
-                 "--match_columns content --query 'content:=' "
+                 "--match_columns content --query 'content:=start-rroonga' "
                  "--query_expand Synonyms.words"));
 }
 




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