[Groonga-commit] groonga/groonga at fa49ddd [master] test: use sort_keys instead of sortby

Back to archive index

Kouhei Sutou null+****@clear*****
Tue Apr 11 21:22:11 JST 2017


Kouhei Sutou	2017-04-11 21:22:11 +0900 (Tue, 11 Apr 2017)

  New Revision: fa49ddd2750fec5e8f2c13e776058872708a84e6
  https://github.com/groonga/groonga/commit/fa49ddd2750fec5e8f2c13e776058872708a84e6

  Message:
    test: use sort_keys instead of sortby
    
    sortby is deprecated.

  Modified files:
    test/command/suite/reindex/data_column.expected
    test/command/suite/reindex/data_column.test
    test/command/suite/reindex/db.expected
    test/command/suite/reindex/db.test
    test/command/suite/reindex/index_column.expected
    test/command/suite/reindex/index_column.test
    test/command/suite/reindex/table.expected
    test/command/suite/reindex/table.test
    test/command/suite/reindex/tags_table.expected
    test/command/suite/reindex/tags_table.test

  Modified: test/command/suite/reindex/data_column.expected (+2 -2)
===================================================================
--- test/command/suite/reindex/data_column.expected    2017-04-11 18:22:50 +0900 (ce6af86)
+++ test/command/suite/reindex/data_column.expected    2017-04-11 21:22:11 +0900 (65721c8)
@@ -13,9 +13,9 @@ load --table Memos
 [[0,0.0,0.0],1]
 delete Terms --key this
 [[0,0.0,0.0],true]
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 [[0,0.0,0.0],[[[3],[["_key","ShortText"]],["a"],["is"],["memo"]]]]
 reindex Memos.content
 [[0,0.0,0.0],true]
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 [[0,0.0,0.0],[[[4],[["_key","ShortText"]],["a"],["is"],["memo"],["this"]]]]

  Modified: test/command/suite/reindex/data_column.test (+2 -2)
===================================================================
--- test/command/suite/reindex/data_column.test    2017-04-11 18:22:50 +0900 (1e24803)
+++ test/command/suite/reindex/data_column.test    2017-04-11 21:22:11 +0900 (f274bee)
@@ -12,8 +12,8 @@ load --table Memos
 ]
 
 delete Terms --key this
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 
 reindex Memos.content
 
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key

  Modified: test/command/suite/reindex/db.expected (+2 -2)
===================================================================
--- test/command/suite/reindex/db.expected    2017-04-11 18:22:50 +0900 (14317eb)
+++ test/command/suite/reindex/db.expected    2017-04-11 21:22:11 +0900 (dd57702)
@@ -13,9 +13,9 @@ load --table Memos
 [[0,0.0,0.0],1]
 delete Terms --key this
 [[0,0.0,0.0],true]
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 [[0,0.0,0.0],[[[3],[["_key","ShortText"]],["a"],["is"],["memo"]]]]
 reindex
 [[0,0.0,0.0],true]
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 [[0,0.0,0.0],[[[4],[["_key","ShortText"]],["a"],["is"],["memo"],["this"]]]]

  Modified: test/command/suite/reindex/db.test (+2 -2)
===================================================================
--- test/command/suite/reindex/db.test    2017-04-11 18:22:50 +0900 (c1d243b)
+++ test/command/suite/reindex/db.test    2017-04-11 21:22:11 +0900 (6d52170)
@@ -12,8 +12,8 @@ load --table Memos
 ]
 
 delete Terms --key this
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 
 reindex
 
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key

  Modified: test/command/suite/reindex/index_column.expected (+2 -2)
===================================================================
--- test/command/suite/reindex/index_column.expected    2017-04-11 18:22:50 +0900 (0becba4)
+++ test/command/suite/reindex/index_column.expected    2017-04-11 21:22:11 +0900 (dc6b8f6)
@@ -13,9 +13,9 @@ load --table Memos
 [[0,0.0,0.0],1]
 delete Terms --key this
 [[0,0.0,0.0],true]
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 [[0,0.0,0.0],[[[3],[["_key","ShortText"]],["a"],["is"],["memo"]]]]
 reindex Terms.index
 [[0,0.0,0.0],true]
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 [[0,0.0,0.0],[[[4],[["_key","ShortText"]],["a"],["is"],["memo"],["this"]]]]

  Modified: test/command/suite/reindex/index_column.test (+2 -2)
===================================================================
--- test/command/suite/reindex/index_column.test    2017-04-11 18:22:50 +0900 (8f25c0b)
+++ test/command/suite/reindex/index_column.test    2017-04-11 21:22:11 +0900 (859a252)
@@ -12,8 +12,8 @@ load --table Memos
 ]
 
 delete Terms --key this
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 
 reindex Terms.index
 
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key

  Modified: test/command/suite/reindex/table.expected (+2 -2)
===================================================================
--- test/command/suite/reindex/table.expected    2017-04-11 18:22:50 +0900 (32a25fc)
+++ test/command/suite/reindex/table.expected    2017-04-11 21:22:11 +0900 (57d165c)
@@ -13,9 +13,9 @@ load --table Memos
 [[0,0.0,0.0],1]
 delete Terms --key this
 [[0,0.0,0.0],true]
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 [[0,0.0,0.0],[[[3],[["_key","ShortText"]],["a"],["is"],["memo"]]]]
 reindex Terms
 [[0,0.0,0.0],true]
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 [[0,0.0,0.0],[[[4],[["_key","ShortText"]],["a"],["is"],["memo"],["this"]]]]

  Modified: test/command/suite/reindex/table.test (+2 -2)
===================================================================
--- test/command/suite/reindex/table.test    2017-04-11 18:22:50 +0900 (2906f64)
+++ test/command/suite/reindex/table.test    2017-04-11 21:22:11 +0900 (35cb363)
@@ -12,8 +12,8 @@ load --table Memos
 ]
 
 delete Terms --key this
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key
 
 reindex Terms
 
-select Terms --output_columns _key --sortby _key
+select Terms --output_columns _key --sort_keys _key

  Modified: test/command/suite/reindex/tags_table.expected (+2 -2)
===================================================================
--- test/command/suite/reindex/tags_table.expected    2017-04-11 18:22:50 +0900 (ed7b508)
+++ test/command/suite/reindex/tags_table.expected    2017-04-11 21:22:11 +0900 (a4748e0)
@@ -11,9 +11,9 @@ load --table Memos
 {"tags": ["job", "asap"]}
 ]
 [[0,0.0,0.0],1]
-select Tags --output_columns _key --sortby _key
+select Tags --output_columns _key --sort_keys _key
 [[0,0.0,0.0],[[[2],[["_key","ShortText"]],["asap"],["job"]]]]
 reindex Tags
 [[0,0.0,0.0],true]
-select Tags --output_columns _key --sortby _key
+select Tags --output_columns _key --sort_keys _key
 [[0,0.0,0.0],[[[2],[["_key","ShortText"]],["asap"],["job"]]]]

  Modified: test/command/suite/reindex/tags_table.test (+2 -2)
===================================================================
--- test/command/suite/reindex/tags_table.test    2017-04-11 18:22:50 +0900 (5fc9a23)
+++ test/command/suite/reindex/tags_table.test    2017-04-11 21:22:11 +0900 (baac262)
@@ -10,8 +10,8 @@ load --table Memos
 {"tags": ["job", "asap"]}
 ]
 
-select Tags --output_columns _key --sortby _key
+select Tags --output_columns _key --sort_keys _key
 
 reindex Tags
 
-select Tags --output_columns _key --sortby _key
+select Tags --output_columns _key --sort_keys _key
-------------- next part --------------
HTML����������������������������...
Télécharger 



More information about the Groonga-commit mailing list
Back to archive index