null+****@clear*****
null+****@clear*****
2010年 12月 29日 (水) 19:11:33 JST
Daijiro MORI 2010-12-29 10:11:33 +0000 (Wed, 29 Dec 2010)
New Revision: c8d34ed2ea094428c520ce1940993969a67402a8
Log:
fixed typo
Modified files:
lib/db.c
test/unit/core/test-command-load.c
Modified: lib/db.c (+1 -1)
===================================================================
--- lib/db.c 2010-12-29 08:58:04 +0000 (4077b0f)
+++ lib/db.c 2010-12-29 10:11:33 +0000 (b5daca5)
@@ -7777,7 +7777,7 @@ json_read(grn_ctx *ctx, grn_loader *loader, const char *str, unsigned str_len)
break;
default :
ERR(GRN_INVALID_ARGUMENT,
- "must be start with '[' or '{': <%.*s>", str_len, beg);
+ "JSON must start with '[' or '{': <%.*s>", str_len, beg);
loader->stat = GRN_LOADER_END;
break;
}
Modified: test/unit/core/test-command-load.c (+1 -1)
===================================================================
--- test/unit/core/test-command-load.c 2010-12-29 08:58:04 +0000 (2bd79da)
+++ test/unit/core/test-command-load.c 2010-12-29 10:11:33 +0000 (edd6832)
@@ -423,7 +423,7 @@ test_invalid_start_with_symbol(void)
cut_assert_equal_string(table_list_result, send_command("table_list"));
grn_test_assert_send_command_error(context,
GRN_INVALID_ARGUMENT,
- "must be start with '[' or '{': <invalid>",
+ "JSON must start with '[' or '{': <invalid>",
"load "
"--table Authors "
"--columns '_key' "