Kouhei Sutou
null+****@clear*****
Tue Jan 24 19:14:31 JST 2017
Kouhei Sutou 2017-01-24 19:14:31 +0900 (Tue, 24 Jan 2017) New Revision: 2c908ae5254cb173c8a3fe21acde0ddc8274be7a https://github.com/groonga/groonga/commit/2c908ae5254cb173c8a3fe21acde0ddc8274be7a Message: test: follow nonexistent slices[LABEL].sort_keys behavior change Now, slices[LABEL].sort_keys returns an error for nonexistent sort keys. Modified files: test/command/suite/select/slices/sort_keys/nonexistent/key.expected test/command/suite/select/slices/sort_keys/nonexistent/multiple_slices.expected Modified: test/command/suite/select/slices/sort_keys/nonexistent/key.expected (+6 -3) =================================================================== --- test/command/suite/select/slices/sort_keys/nonexistent/key.expected 2017-01-24 16:00:21 +0900 (090d4da) +++ test/command/suite/select/slices/sort_keys/nonexistent/key.expected 2017-01-24 19:14:31 +0900 (dd0bbb6) @@ -17,9 +17,12 @@ load --table Memos select Memos --slices[groonga].filter 'tag == "Groonga"' --slices[groonga].sort_keys 'nonexistent' --slices[groonga].output_columns '_key, date' [ [ - 0, - 0.0, - 0.0 + [ + -22, + 0.0, + 0.0 + ], + "invalid sort key: <nonexistent>: table:<(anonymous)> keys:<nonexistent>" ], [ [ Modified: test/command/suite/select/slices/sort_keys/nonexistent/multiple_slices.expected (+6 -22) =================================================================== --- test/command/suite/select/slices/sort_keys/nonexistent/multiple_slices.expected 2017-01-24 16:00:21 +0900 (f3f2723) +++ test/command/suite/select/slices/sort_keys/nonexistent/multiple_slices.expected 2017-01-24 19:14:31 +0900 (5b16a94) @@ -17,9 +17,12 @@ load --table Memos select Memos --slices[groonga].filter 'tag == "Groonga"' --slices[groonga].sort_keys 'nonexistent' --slices[groonga].output_columns '_key, date' --slices[mroonga].filter 'tag == "Mroonga"' --slices[mroonga].sort_keys 'date' --slices[mroonga].output_columns '_key, date' [ [ - 0, - 0.0, - 0.0 + [ + -22, + 0.0, + 0.0 + ], + "invalid sort key: <nonexistent>: table:<(anonymous)> keys:<nonexistent>" ], [ [ @@ -70,25 +73,6 @@ select Memos --slices[groonga].filter 'tag == "Groonga"' --slices[groonga].s ] ], { - "mroonga": [ - [ - 1 - ], - [ - [ - "_key", - "ShortText" - ], - [ - "date", - "Time" - ] - ], - [ - "Mroonga is fast!", - 1463626801.0 - ] - ] } ] ] -------------- next part -------------- HTML����������������������������...Download