null+****@clear*****
null+****@clear*****
2011年 8月 8日 (月) 13:21:17 JST
Kouhei Sutou 2011-08-08 04:21:17 +0000 (Mon, 08 Aug 2011) New Revision: 6af703a87977bbac62e4f7a64b2c8a4fdb53cf00 Log: [test] follow the current error messages. Modified files: test/unit/core/test-command-column-create.c test/unit/core/test-command-load.c test/unit/core/test-command-select.c Modified: test/unit/core/test-command-column-create.c (+2 -2) =================================================================== --- test/unit/core/test-command-column-create.c 2011-08-08 02:47:18 +0000 (a6ee93f) +++ test/unit/core/test-command-column-create.c 2011-08-08 04:21:17 +0000 (7f25938) @@ -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 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 (+1 -1) =================================================================== --- test/unit/core/test-command-load.c 2011-08-08 02:47:18 +0000 (53fa7bd) +++ test/unit/core/test-command-load.c 2011-08-08 04:21:17 +0000 (8ec6f40) @@ -490,7 +490,7 @@ test_invalid_table_name(void) context, GRN_INVALID_ARGUMENT, "[table][load]: name can't start with '_' " - "and contains only 0-9, A-Z, a-z, #, -, or _: <_Users>", + "and contains only 0-9, A-Z, a-z, #, - or _: <_Users>", "load --table _Users\n" "[\n" "[\"_key\": \"alice\"]\n" Modified: test/unit/core/test-command-select.c (+1 -1) =================================================================== --- test/unit/core/test-command-select.c 2011-08-08 02:47:18 +0000 (652dd8e) +++ test/unit/core/test-command-select.c 2011-08-08 04:21:17 +0000 (db72961) @@ -460,7 +460,7 @@ test_nonexistent_table(void) grn_ctx_send(context, command, strlen(command), 0); grn_test_assert_error(GRN_INVALID_ARGUMENT, - "invalid table name: nonexistent", + "invalid table name: <nonexistent>", context); }