YUKI Hiroshi
null+****@clear*****
Thu Nov 28 10:12:47 JST 2013
YUKI Hiroshi 2013-11-28 10:12:47 +0900 (Thu, 28 Nov 2013) New Revision: 1ec885de0f41c102ef00c1791751c692c98e1703 https://github.com/droonga/fluent-plugin-droonga/commit/1ec885de0f41c102ef00c1791751c692c98e1703 Message: Specify overridden limit correctly Modified files: test/unit/plugin/distributor/test_search.rb Modified: test/unit/plugin/distributor/test_search.rb (+3 -2) =================================================================== --- test/unit/plugin/distributor/test_search.rb 2013-11-28 10:09:58 +0900 (8832ae9) +++ test/unit/plugin/distributor/test_search.rb 2013-11-28 10:12:47 +0900 (d9acfc8) @@ -333,6 +333,7 @@ class SearchDistributorTest < Test::Unit::TestCase "source" => "User", "output" => { "elements" => ["count"], + "limit" => 0, }, }, "no_limit" => { @@ -341,7 +342,7 @@ class SearchDistributorTest < Test::Unit::TestCase "format" => "complex", "elements" => ["count", "records"], "offset" => 0, - "limit" => -1, + "limit" => 0, }, }, "have_records" => { @@ -351,7 +352,7 @@ class SearchDistributorTest < Test::Unit::TestCase "elements" => ["count", "records"], "attributes" => ["_key", "name", "age"], "offset" => 0, - "limit" => -1, + "limit" => 3, }, }, }, -------------- next part -------------- HTML����������������������������...Download