Kouhei Sutou
null+****@clear*****
Sun Aug 10 12:25:22 JST 2014
Kouhei Sutou 2014-08-10 12:25:22 +0900 (Sun, 10 Aug 2014) New Revision: 64d1810590d0c488e757e96ee0e337cfdd278970 https://github.com/groonga/groonga/commit/64d1810590d0c488e757e96ee0e337cfdd278970 Message: test: fix wrong test code It doesn't test nothing. We need to match the test data. Modified files: test/command/suite/select/function/highlight_html/empty_column.expected test/command/suite/select/function/highlight_html/empty_column.test Modified: test/command/suite/select/function/highlight_html/empty_column.expected (+2 -2) =================================================================== --- test/command/suite/select/function/highlight_html/empty_column.expected 2014-08-10 12:22:45 +0900 (3e75756) +++ test/command/suite/select/function/highlight_html/empty_column.expected 2014-08-10 12:25:22 +0900 (709602a) @@ -11,5 +11,5 @@ load --table Entries {"body": ""} ] [[0,0.0,0.0],1] -select Entries --output_columns --match_columns body --query 'groonga' --output_columns 'highlight_html(body)' --command_version 2 -[[0,0.0,0.0],[[[0],[["highlight_html","null"]]]]] +select Entries --output_columns --query 'body:@groonga OR _id:1' --output_columns 'highlight_html(body)' --command_version 2 +[[0,0.0,0.0],[[[1],[["highlight_html","null"]],[""]]]] Modified: test/command/suite/select/function/highlight_html/empty_column.test (+1 -1) =================================================================== --- test/command/suite/select/function/highlight_html/empty_column.test 2014-08-10 12:22:45 +0900 (da7d660) +++ test/command/suite/select/function/highlight_html/empty_column.test 2014-08-10 12:25:22 +0900 (c3f7ff8) @@ -10,5 +10,5 @@ load --table Entries ] select Entries --output_columns \ - --match_columns body --query 'groonga' \ + --query 'body:@groonga OR _id:1' \ --output_columns 'highlight_html(body)' --command_version 2 -------------- next part -------------- HTML����������������������������...Download