YUKI Hiroshi
null+****@clear*****
Thu Sep 12 15:31:05 JST 2013
YUKI Hiroshi 2013-09-12 15:31:05 +0900 (Thu, 12 Sep 2013) New Revision: 5e65fcce71eb5760bf2e85cf28dd90b965e42ea1 https://github.com/droonga/fluent-plugin-droonga/commit/5e65fcce71eb5760bf2e85cf28dd90b965e42ea1 Message: Use plural form for table names Term => Terms Modified files: test/test_groonga_command_converter.rb Modified: test/test_groonga_command_converter.rb (+2 -2) =================================================================== --- test/test_groonga_command_converter.rb 2013-09-12 15:04:42 +0900 (362479e) +++ test/test_groonga_command_converter.rb 2013-09-12 15:31:05 +0900 (c8754b0) @@ -29,7 +29,7 @@ class GroongaCommandConverterTest < Test::Unit::TestCase def test_table_create results = [] - command = "table_create Term TABLE_PAT_KEY ShortText " + + command = "table_create Terms TABLE_PAT_KEY ShortText " + "--default_tokenizer TokenBigram --normalizer NormalizerAuto" @converter.convert(command) do |droonga_command| results << droonga_command @@ -43,7 +43,7 @@ class GroongaCommandConverterTest < Test::Unit::TestCase :dataset => dataset, :type => "table_create", :body => { - :name => "Term", + :name => "Terms", :flags => "TABLE_PAT_KEY", :key_type => "ShortText", :value_type => nil, -------------- next part -------------- HTML����������������������������...Download