[Groonga-commit] groonga/groonga at 6c8d348 [master] test load: add a test for --output_ids and array style

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Feb 3 17:06:32 JST 2017


Kouhei Sutou	2017-02-03 17:06:32 +0900 (Fri, 03 Feb 2017)

  New Revision: 6c8d3489eefa487a14757ea84b40f4d254e74e86
  https://github.com/groonga/groonga/commit/6c8d3489eefa487a14757ea84b40f4d254e74e86

  Message:
    test load: add a test for --output_ids and array style

  Copied files:
    test/command/suite/load/command_version/3/output_ids/array.expected
      (from test/command/suite/load/command_version/3/output_ids.expected)
    test/command/suite/load/command_version/3/output_ids/array.test
      (from test/command/suite/load/command_version/3/output_ids.test)
  Renamed files:
    test/command/suite/load/command_version/3/output_ids/object.expected
      (from test/command/suite/load/command_version/3/output_ids.expected)
    test/command/suite/load/command_version/3/output_ids/object.test
      (from test/command/suite/load/command_version/3/output_ids.test)

  Copied: test/command/suite/load/command_version/3/output_ids/array.expected (+4 -4) 79%
===================================================================
--- test/command/suite/load/command_version/3/output_ids.expected    2017-02-03 17:03:31 +0900 (cf9e289)
+++ test/command/suite/load/command_version/3/output_ids/array.expected    2017-02-03 17:06:32 +0900 (3f1d8b7)
@@ -2,9 +2,10 @@ table_create Users TABLE_HASH_KEY ShortText
 [[0,0.0,0.0],true]
 load --table Users --command_version 3 --output_ids yes
 [
-{"_key": "Alice"},
-{},
-{"_key": "Chris"}
+["_key"],
+["Alice"],
+[],
+["Chris"]
 ]
 {
   "header": {
@@ -21,4 +22,3 @@ load --table Users --command_version 3 --output_ids yes
     ]
   }
 }
-#|e| neither _key nor _id is assigned

  Copied: test/command/suite/load/command_version/3/output_ids/array.test (+4 -3) 71%
===================================================================
--- test/command/suite/load/command_version/3/output_ids.test    2017-02-03 17:03:31 +0900 (ad7d8fc)
+++ test/command/suite/load/command_version/3/output_ids/array.test    2017-02-03 17:06:32 +0900 (f72dd32)
@@ -2,7 +2,8 @@ table_create Users TABLE_HASH_KEY ShortText
 
 load --table Users --command_version 3 --output_ids yes
 [
-{"_key": "Alice"},
-{},
-{"_key": "Chris"}
+["_key"],
+["Alice"],
+[],
+["Chris"]
 ]

  Renamed: test/command/suite/load/command_version/3/output_ids/object.expected (+0 -0) 100%
===================================================================

  Renamed: test/command/suite/load/command_version/3/output_ids/object.test (+0 -0) 100%
===================================================================
-------------- next part --------------
HTML����������������������������...
下載 



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