null+****@clear*****
null+****@clear*****
2010年 7月 8日 (木) 10:58:28 JST
Kouhei Sutou 2010-07-08 01:58:28 +0000 (Thu, 08 Jul 2010) New Revision: 193b6100badd4f9a96bcb9f38318341851001e8d Log: remove new lines from JSON output. Modified files: test/unit/core/test-command-column-list.c test/unit/core/test-command-select-sort.c Modified: test/unit/core/test-command-column-list.c (+5 -5) =================================================================== --- test/unit/core/test-command-column-list.c 2010-07-08 01:53:24 +0000 (389af7b) +++ test/unit/core/test-command-column-list.c 2010-07-08 01:58:28 +0000 (0e600b4) @@ -93,7 +93,7 @@ test_columns(void) "[\"domain\",\"ShortText\"]," "[\"range\",\"ShortText\"]," "[\"source\",\"ShortText\"]" - "],\n" + "]," "[0," "\"_key\"," "\"\"," @@ -102,7 +102,7 @@ test_columns(void) "\"Users\"," "\"ShortText\"," "[]" - "],\n" + "]," "[258," "\"comment\"," "\"%s.0000102\"," @@ -111,7 +111,7 @@ test_columns(void) "\"Users\"," "\"Text\"," "[]" - "],\n" + "]," "[257," "\"age\"," "\"%s.0000101\"," @@ -145,7 +145,7 @@ test_index_columns(void) "[\"domain\",\"ShortText\"]," "[\"range\",\"ShortText\"]," "[\"source\",\"ShortText\"]" - "],\n" + "]," "[0," "\"_key\"," "\"\"," @@ -154,7 +154,7 @@ test_index_columns(void) "\"Terms\"," "\"ShortText\"," "[]" - "],\n" + "]," "[258," "\"Sites_key\"," "\"%s.0000102\"," Modified: test/unit/core/test-command-select-sort.c (+6 -6) =================================================================== --- test/unit/core/test-command-select-sort.c 2010-07-08 01:53:24 +0000 (0b97185) +++ test/unit/core/test-command-select-sort.c 2010-07-08 01:58:28 +0000 (e40d0fb) @@ -161,18 +161,18 @@ test_drilldown(void) "[\"groonga.org\",\"gunyara-kun\",100]," "[\"groonga.org\",\"yu\",50]," "[\"2ch.net\",\"gunyara-kun\",0]," - "[\"2ch.net\",\"yu\",10]],\n" + "[\"2ch.net\",\"yu\",10]]," "[[2]," "[[\"_key\",\"ShortText\"]," "[\"_nsubrecs\",\"Int32\"]]," "[\"2ch.net\",2]," - "[\"groonga.org\",3]],\n" + "[\"groonga.org\",3]]," "[[3]," "[[\"_key\",\"ShortText\"]," "[\"_nsubrecs\",\"Int32\"]]," "[\"gunyara-kun\",2]," "[\"morita\",1]," - "[\"yu\",2]],\n" + "[\"yu\",2]]," "[[4]," "[[\"_key\",\"Int32\"]," "[\"_nsubrecs\",\"Int32\"]]," @@ -213,18 +213,18 @@ test_score_drilldown_without_query(void) "[\"groonga.org\",\"gunyara-kun\"]," "[\"groonga.org\",\"yu\"]," "[\"2ch.net\",\"gunyara-kun\"]," - "[\"2ch.net\",\"yu\"]],\n" + "[\"2ch.net\",\"yu\"]]," "[[2]," "[[\"_key\",\"ShortText\"]," "[\"_nsubrecs\",\"Int32\"]]," "[\"2ch.net\",2]," - "[\"groonga.org\",3]],\n" + "[\"groonga.org\",3]]," "[[3]," "[[\"_key\",\"ShortText\"]," "[\"_nsubrecs\",\"Int32\"]]," "[\"gunyara-kun\",2]," "[\"morita\",1]," - "[\"yu\",2]],\n" + "[\"yu\",2]]," "[[4]," "[[\"_key\",\"Int32\"]," "[\"_nsubrecs\",\"Int32\"]],"