[Groonga-commit] groonga/groonga-command at 78b894a [master] test table_create: add one flag case

Back to archive index

Kosuke Asami null+****@clear*****
Thu Jul 11 15:11:50 JST 2013


Kosuke Asami	2013-07-11 15:11:50 +0900 (Thu, 11 Jul 2013)

  New Revision: 78b894a5ecf0445c5d98e57a41b9667fa93cc2c6
  https://github.com/groonga/groonga-command/commit/78b894a5ecf0445c5d98e57a41b9667fa93cc2c6

  Message:
    test table_create: add one flag case

  Modified files:
    test/command/test-table-create.rb

  Modified: test/command/test-table-create.rb (+6 -0)
===================================================================
--- test/command/test-table-create.rb    2013-07-11 15:11:07 +0900 (db23e8e)
+++ test/command/test-table-create.rb    2013-07-11 15:11:50 +0900 (1118e61)
@@ -50,6 +50,12 @@ class TableCreateCommandTest < Test::Unit::TestCase
         assert_equal(["TABLE_PAT_KEY", "KEY_WITH_SIS"],
                      command.flags)
       end
+
+      def test_one
+        command = parse({"flags" => "TABLE_NO_KEY"})
+        assert_equal(["TABLE_NO_KEY"],
+                     command.flags)
+      end
     end
   end
 end
-------------- next part --------------
HTML����������������������������...
下载 



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