[Groonga-commit] groonga/groonga [master] [test] update tests for available name characters change. refs #1043

アーカイブの一覧に戻る

null+****@clear***** null+****@clear*****
2011年 8月 8日 (月) 11:47:18 JST


Kouhei Sutou	2011-08-08 02:47:18 +0000 (Mon, 08 Aug 2011)

  New Revision: 15b36636ced18788b9a643c11c29fed5679e4a2b

  Log:
    [test] update tests for available name characters change. refs #1043

  Modified files:
    test/unit/core/test-command-column-create.c
    test/unit/core/test-command-load.c

  Modified: test/unit/core/test-command-column-create.c (+2 -2)
===================================================================
--- test/unit/core/test-command-column-create.c    2011-08-08 02:31:48 +0000 (965be00)
+++ test/unit/core/test-command-column-create.c    2011-08-08 02:47:18 +0000 (a6ee93f)
@@ -87,8 +87,8 @@ test_invalid_name(void)
   grn_test_assert_send_command_error(
     context,
     GRN_INVALID_ARGUMENT,
-    "[column][create]: name can't start with '_' and 0-9, "
-    "and contains only 0-9, A-Z, a-z, or _: <_name>",
+    "[column][create]: name can't start with '_', "
+    "and contains only 0-9, A-Z, a-z, #, -, or _: <_name>",
     "column_create Users _name COLUMN_SCALAR ShortText");
 }
 

  Modified: test/unit/core/test-command-load.c (+2 -2)
===================================================================
--- test/unit/core/test-command-load.c    2011-08-08 02:31:48 +0000 (ddc29b0)
+++ test/unit/core/test-command-load.c    2011-08-08 02:47:18 +0000 (53fa7bd)
@@ -489,8 +489,8 @@ test_invalid_table_name(void)
   grn_test_assert_send_command_error(
     context,
     GRN_INVALID_ARGUMENT,
-    "[table][load]: name can't start with '_' and 0-9, "
-    "and contains only 0-9, A-Z, a-z, or _: <_Users>",
+    "[table][load]: name can't start with '_' "
+    "and contains only 0-9, A-Z, a-z, #, -, or _: <_Users>",
     "load --table _Users\n"
     "[\n"
     "[\"_key\": \"alice\"]\n"




Groonga-commit メーリングリストの案内
アーカイブの一覧に戻る