[Groonga-commit] groonga/groonga at a265198 [master] test: fix wrong test value

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 16 21:21:08 JST 2015


Kouhei Sutou	2015-02-16 21:21:08 +0900 (Mon, 16 Feb 2015)

  New Revision: a2651988190fe162b39b0dbf0e73734dabaa7ed4
  https://github.com/groonga/groonga/commit/a2651988190fe162b39b0dbf0e73734dabaa7ed4

  Message:
    test: fix wrong test value

  Modified files:
    test/unit/core/test-object.c

  Modified: test/unit/core/test-object.c (+3 -1)
===================================================================
--- test/unit/core/test-object.c    2015-02-16 19:26:49 +0900 (549b7d8)
+++ test/unit/core/test-object.c    2015-02-16 21:21:08 +0900 (896fe52)
@@ -173,7 +173,7 @@ data_is_proc(void)
                  NULL)
 
   ADD_DATUM(TRUE, "status");
-  ADD_DATUM(FALSE, "TokenBigram");
+  ADD_DATUM(FALSE, "Users");
 
 #undef ADD_DATUM
 }
@@ -184,6 +184,8 @@ test_is_proc(gconstpointer data)
   const gchar *name;
   grn_obj *object;
 
+  assert_send_command("table_create Users TABLE_HASH_KEY ShortText");
+
   name = gcut_data_get_string(data, "name");
   object = grn_ctx_get(context, name, strlen(name));
   if (gcut_data_get_string(data, "expected")) {
-------------- next part --------------
HTML����������������������������...
Download 



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