[Groonga-commit] ranguba/groonga-client at 6d1b3a7 [master] test: stop to use needless variable length arguments

アーカイブの一覧に戻る

Kouhei Sutou null+****@clear*****
Wed Apr 26 15:17:51 JST 2017


Kouhei Sutou	2017-04-26 15:17:51 +0900 (Wed, 26 Apr 2017)

  New Revision: 6d1b3a7e4db336a4fc5ba61ef77a1e70c9849aaa
  https://github.com/ranguba/groonga-client/commit/6d1b3a7e4db336a4fc5ba61ef77a1e70c9849aaa

  Message:
    test: stop to use needless variable length arguments

  Modified files:
    test/request/test-select.rb

  Modified: test/request/test-select.rb (+6 -2)
===================================================================
--- test/request/test-select.rb    2017-04-26 15:17:19 +0900 (bf395c1)
+++ test/request/test-select.rb    2017-04-26 15:17:51 +0900 (aae9c8e)
@@ -93,8 +93,12 @@ class TestRequestSelect < Test::Unit::TestCase
     end
 
     sub_test_case("#between") do
-      def between(column_name, *values)
-        @request.filter.between(column_name, *values).to_parameters
+      def between(column_name,
+                  min, min_border,
+                  max, max_border)
+        @request.filter.between(column_name,
+                                min, min_border,
+                                max, max_border).to_parameters
       end
 
       test("column_name_include") do
-------------- next part --------------
HTML����������������������������...
ダウンロード 



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