[Groonga-commit] groonga/groonga at a2d0b8d [master] test: table_create with only --name fails because key type is missing

Back to archive index

Susumu Yata null+****@clear*****
Fri Sep 2 14:16:54 JST 2016


Susumu Yata	2016-09-02 14:16:54 +0900 (Fri, 02 Sep 2016)

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

  Message:
    test: table_create with only --name fails because key type is missing
    
    GitHub: #599

  Modified files:
    test/command/suite/table_list/flags/default.expected
    test/command/suite/table_list/flags/default.test

  Modified: test/command/suite/table_list/flags/default.expected (+7 -50)
===================================================================
--- test/command/suite/table_list/flags/default.expected    2016-09-02 13:57:29 +0900 (a3dc546)
+++ test/command/suite/table_list/flags/default.expected    2016-09-02 14:16:54 +0900 (6ad3188)
@@ -1,56 +1,13 @@
 table_create bookmarks
-[[0,0.0,0.0],true]
-table_list
 [
   [
-    0,
-    0.0,
-    0.0
-  ],
-  [
     [
-      [
-        "id",
-        "UInt32"
-      ],
-      [
-        "name",
-        "ShortText"
-      ],
-      [
-        "path",
-        "ShortText"
-      ],
-      [
-        "flags",
-        "ShortText"
-      ],
-      [
-        "domain",
-        "ShortText"
-      ],
-      [
-        "range",
-        "ShortText"
-      ],
-      [
-        "default_tokenizer",
-        "ShortText"
-      ],
-      [
-        "normalizer",
-        "ShortText"
-      ]
+      -22,
+      0.0,
+      0.0
     ],
-    [
-      256,
-      "bookmarks",
-      "db/db.0000100",
-      "TABLE_HASH_KEY|PERSISTENT",
-      null,
-      null,
-      null,
-      null
-    ]
-  ]
+    "[table][create] key type is required for TABLE_HASH_KEY, TABLE_PAT_KEY or TABLE_DAT_KEY: <bookmarks> (null)"
+  ],
+  false
 ]
+#|e| [table][create] key type is required for TABLE_HASH_KEY, TABLE_PAT_KEY or TABLE_DAT_KEY: <bookmarks> (null)

  Modified: test/command/suite/table_list/flags/default.test (+0 -1)
===================================================================
--- test/command/suite/table_list/flags/default.test    2016-09-02 13:57:29 +0900 (883c4c2)
+++ test/command/suite/table_list/flags/default.test    2016-09-02 14:16:54 +0900 (30681cf)
@@ -1,2 +1 @@
 table_create bookmarks
-table_list
-------------- next part --------------
HTML����������������������������...
Download 



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