Kouhei Sutou
null+****@clear*****
Fri Mar 14 17:16:59 JST 2014
Kouhei Sutou 2014-03-14 17:16:59 +0900 (Fri, 14 Mar 2014) New Revision: fd63909dad35640f75d6181a0a2fdd0b0bff6c29 https://github.com/droonga/fluent-plugin-droonga/commit/fd63909dad35640f75d6181a0a2fdd0b0bff6c29 Message: test: use valid value for test data Modified files: test/unit/catalog/test_schema.rb Modified: test/unit/catalog/test_schema.rb (+3 -3) =================================================================== --- test/unit/catalog/test_schema.rb 2014-03-14 17:16:10 +0900 (4f7380d) +++ test/unit/catalog/test_schema.rb 2014-03-14 17:16:59 +0900 (27d57e8) @@ -241,14 +241,14 @@ class CatalogSchemaTest < Test::Unit::TestCase flags(data)) end - def test_type_and_index_options + def test_index_options data = { - "type" => "Scalar", + "type" => "Index", "indexOptions" => { "section" => true } } - assert_equal(["COLUMN_SCALAR", "WITH_SECTION"], + assert_equal(["COLUMN_INDEX", "WITH_SECTION"], flags(data)) end end -------------- next part -------------- HTML����������������������������... Download