[Groonga-commit] groonga/groonga at 59288cb [master] test: remove needless records

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Feb 1 10:39:32 JST 2016


Kouhei Sutou	2016-02-01 10:39:32 +0900 (Mon, 01 Feb 2016)

  New Revision: 59288cb773aedd5b50352fd74725313c146be043
  https://github.com/groonga/groonga/commit/59288cb773aedd5b50352fd74725313c146be043

  Message:
    test: remove needless records
    
    Because all records return the same result.

  Modified files:
    test/command/suite/select/function/string/string_length/ascii.expected
    test/command/suite/select/function/string/string_length/ascii.test
    test/command/suite/select/function/string/string_length/multibyte.expected
    test/command/suite/select/function/string/string_length/multibyte.test

  Modified: test/command/suite/select/function/string/string_length/ascii.expected (+3 -8)
===================================================================
--- test/command/suite/select/function/string/string_length/ascii.expected    2016-02-01 10:37:05 +0900 (3b3c6d5)
+++ test/command/suite/select/function/string/string_length/ascii.expected    2016-02-01 10:39:32 +0900 (d75d634)
@@ -4,10 +4,9 @@ table_create Memos TABLE_HASH_KEY ShortText
 [[0,0.0,0.0],true]
 load --table Memos
 [
-{"_key": "Groonga"},
-{"_key": "Rroonga"}
+{"_key": "Groonga"}
 ]
-[[0,0.0,0.0],2]
+[[0,0.0,0.0],1]
 select Memos   --output_columns '_key, string_length(_key)'   --command_version 2
 [
   [
@@ -18,7 +17,7 @@ select Memos   --output_columns '_key, string_length(_key)'   --command_version
   [
     [
       [
-        2
+        1
       ],
       [
         [
@@ -33,10 +32,6 @@ select Memos   --output_columns '_key, string_length(_key)'   --command_version
       [
         "Groonga",
         7
-      ],
-      [
-        "Rroonga",
-        7
       ]
     ]
   ]

  Modified: test/command/suite/select/function/string/string_length/ascii.test (+1 -2)
===================================================================
--- test/command/suite/select/function/string/string_length/ascii.test    2016-02-01 10:37:05 +0900 (81c2564)
+++ test/command/suite/select/function/string/string_length/ascii.test    2016-02-01 10:39:32 +0900 (594d162)
@@ -4,8 +4,7 @@ table_create Memos TABLE_HASH_KEY ShortText
 
 load --table Memos
 [
-{"_key": "Groonga"},
-{"_key": "Rroonga"}
+{"_key": "Groonga"}
 ]
 
 select Memos \

  Modified: test/command/suite/select/function/string/string_length/multibyte.expected (+3 -8)
===================================================================
--- test/command/suite/select/function/string/string_length/multibyte.expected    2016-02-01 10:37:05 +0900 (0266211)
+++ test/command/suite/select/function/string/string_length/multibyte.expected    2016-02-01 10:39:32 +0900 (773b17c)
@@ -4,10 +4,9 @@ table_create Memos TABLE_HASH_KEY ShortText
 [[0,0.0,0.0],true]
 load --table Memos
 [
-{"_key": "ぐるんが"},
-{"_key": "るるんが"}
+{"_key": "ぐるんが"}
 ]
-[[0,0.0,0.0],2]
+[[0,0.0,0.0],1]
 select Memos   --output_columns '_key, string_length(_key)'   --command_version 2
 [
   [
@@ -18,7 +17,7 @@ select Memos   --output_columns '_key, string_length(_key)'   --command_version
   [
     [
       [
-        2
+        1
       ],
       [
         [
@@ -33,10 +32,6 @@ select Memos   --output_columns '_key, string_length(_key)'   --command_version
       [
         "ぐるんが",
         4
-      ],
-      [
-        "るるんが",
-        4
       ]
     ]
   ]

  Modified: test/command/suite/select/function/string/string_length/multibyte.test (+1 -2)
===================================================================
--- test/command/suite/select/function/string/string_length/multibyte.test    2016-02-01 10:37:05 +0900 (6f6e27a)
+++ test/command/suite/select/function/string/string_length/multibyte.test    2016-02-01 10:39:32 +0900 (67c26ee)
@@ -4,8 +4,7 @@ table_create Memos TABLE_HASH_KEY ShortText
 
 load --table Memos
 [
-{"_key": "ぐるんが"},
-{"_key": "るるんが"}
+{"_key": "ぐるんが"}
 ]
 
 select Memos \
-------------- next part --------------
HTML����������������������������...
Descargar 



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