[Groonga-commit] droonga/fluent-plugin-droonga at eb98af7 [master] Use clone instead of dup, because I create expected case by modifying inputs

アーカイブの一覧に戻る

YUKI Hiroshi null+****@clear*****
Fri Dec 6 10:15:10 JST 2013


YUKI Hiroshi	2013-12-06 10:15:10 +0900 (Fri, 06 Dec 2013)

  New Revision: eb98af7ee0a07936a7b47fe395808a792673f119
  https://github.com/droonga/fluent-plugin-droonga/commit/eb98af7ee0a07936a7b47fe395808a792673f119

  Message:
    Use clone instead of dup, because I create expected case by modifying inputs

  Modified files:
    test/unit/plugin/distributor/test_search_plan.rb

  Modified: test/unit/plugin/distributor/test_search_plan.rb (+1 -1)
===================================================================
--- test/unit/plugin/distributor/test_search_plan.rb    2013-12-06 10:13:08 +0900 (3f35a53)
+++ test/unit/plugin/distributor/test_search_plan.rb    2013-12-06 10:15:10 +0900 (8a0bca2)
@@ -1039,7 +1039,7 @@ class DistributedSearchPlanTest < Test::Unit::TestCase
     end
 
     def searcher(search_request_envelope, options={})
-      searcher = search_request_envelope.dup
+      searcher = search_request_envelope.clone
 
       queries = searcher["body"]["queries"]
       query_name = queries.keys.first
-------------- next part --------------
HTML����������������������������...
ダウンロード 



More information about the Groonga-commit mailing list
アーカイブの一覧に戻る