YUKI Hiroshi
null+****@clear*****
Wed Dec 4 12:29:17 JST 2013
YUKI Hiroshi 2013-12-04 12:29:17 +0900 (Wed, 04 Dec 2013) New Revision: d13e64fb905e432f7c895a65df50a52dbac7aa95 https://github.com/droonga/fluent-plugin-droonga/commit/d13e64fb905e432f7c895a65df50a52dbac7aa95 Message: Fix expected cases for key_column Modified files: test/unit/plugin/distributor/test_search.rb Modified: test/unit/plugin/distributor/test_search.rb (+7 -7) =================================================================== --- test/unit/plugin/distributor/test_search.rb 2013-12-04 12:24:14 +0900 (c824e1e) +++ test/unit/plugin/distributor/test_search.rb 2013-12-04 12:29:17 +0900 (411b2a8) @@ -40,7 +40,7 @@ class SearchDistributorTest < Test::Unit::TestCase "output" => { "format" => "complex", "elements" => ["count", "records"], - "attributes" => [], + "attributes" => ["_key"], "offset" => 0, "limit" => 10, }, @@ -50,7 +50,7 @@ class SearchDistributorTest < Test::Unit::TestCase "output" => { "format" => "complex", "elements" => ["count", "records"], - "attributes" => [], + "attributes" => ["_key"], "offset" => 0, "limit" => 20, }, @@ -60,7 +60,7 @@ class SearchDistributorTest < Test::Unit::TestCase "output" => { "format" => "complex", "elements" => ["count", "records"], - "attributes" => [], + "attributes" => ["_key"], "offset" => 0, "limit" => 30, }, @@ -182,7 +182,7 @@ class SearchDistributorTest < Test::Unit::TestCase "output" => { "format" => "simple", "elements" => ["count", "records"], - "attributes" => [], + "attributes" => ["_key"], "offset" => 0, "limit" => 10, }, @@ -192,7 +192,7 @@ class SearchDistributorTest < Test::Unit::TestCase "output" => { "format" => "simple", "elements" => ["count", "records"], - "attributes" => [], + "attributes" => ["_key"], "offset" => 0, "limit" => 20, }, @@ -202,7 +202,7 @@ class SearchDistributorTest < Test::Unit::TestCase "output" => { "format" => "simple", "elements" => ["count", "records"], - "attributes" => [], + "attributes" => ["_key"], "offset" => 0, "limit" => 30, }, @@ -824,7 +824,7 @@ class SearchDistributorTest < Test::Unit::TestCase { "column" => 3, "operator" => ">" }, { "column" => 4, "operator" => "<" }, ], - "key_column" => 0, + "key_column" => 5, # 0-2 => hash type, 3-4 => sort keys "limit" => -1, }, }) -------------- next part -------------- HTML����������������������������...다운로드