null+****@clear*****
null+****@clear*****
2011年 9月 1日 (木) 13:17:32 JST
Kouhei Sutou 2011-09-01 04:17:32 +0000 (Thu, 01 Sep 2011)
New Revision: ada3a460d00d0ffb5aa12b66749f540ebf6b4946
Log:
[test][load] use null for no value.
Modified files:
test/unit/core/test-command-load.c
Modified: test/unit/core/test-command-load.c (+1 -1)
===================================================================
--- test/unit/core/test-command-load.c 2011-09-01 04:17:13 +0000 (d543a53)
+++ test/unit/core/test-command-load.c 2011-09-01 04:17:32 +0000 (8fe7bc5)
@@ -330,7 +330,7 @@ test_index_geo_point(void)
"[{\"_key\": \"たかね\", \"location\": \"128514964x502419287\"}]";
const gchar *load_takane_with_empty_location =
"load --table Shops\n"
- "[{\"_key\": \"たかね\", \"location\": \"\"}]";
+ "[{\"_key\": \"たかね\", \"location\": null}]";
assert_send_command("table_create Shops TABLE_HASH_KEY ShortText");
assert_send_command("column_create Shops location COLUMN_SCALAR WGS84GeoPoint");