[Groonga-commit] droonga/fluent-plugin-droonga at 86e7bdb [catalog-schema] schema: Add a test for Table#flags

Back to archive index

Yoji Shidara null+****@clear*****
Tue Feb 18 15:50:53 JST 2014


Yoji Shidara	2014-02-18 15:50:53 +0900 (Tue, 18 Feb 2014)

  New Revision: 86e7bdbb2330f3b291f7942db189294a51f9cd49
  https://github.com/droonga/fluent-plugin-droonga/commit/86e7bdbb2330f3b291f7942db189294a51f9cd49

  Message:
    schema: Add a test for Table#flags

  Modified files:
    test/unit/catalog/test_schema.rb

  Modified: test/unit/catalog/test_schema.rb (+8 -0)
===================================================================
--- test/unit/catalog/test_schema.rb    2014-02-18 15:31:09 +0900 (305f2b3)
+++ test/unit/catalog/test_schema.rb    2014-02-18 15:50:53 +0900 (6f49492)
@@ -91,6 +91,14 @@ class CatalogSchemaTest < Test::Unit::TestCase
                                   }).type)
       end
 
+      def test_flags
+        assert_equal("TABLE_HASH_KEY",
+                     create_table("table_name",
+                                  {
+                                    "type" => "Hash"
+                                  }).flags)
+      end
+
       def test_key_type
         assert_equal("ShortText",
                      create_table("table_name",
-------------- next part --------------
HTML����������������������������...
Download 



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