[Groonga-commit] groonga/grntest at ab16377 [master] Add valid value check

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Mar 14 15:20:17 JST 2016


Kouhei Sutou	2016-03-14 15:20:17 +0900 (Mon, 14 Mar 2016)

  New Revision: ab163775036233777990209de0cdade8078a7860
  https://github.com/groonga/grntest/commit/ab163775036233777990209de0cdade8078a7860

  Message:
    Add valid value check

  Modified files:
    lib/grntest/executors/standard-io-executor.rb

  Modified: lib/grntest/executors/standard-io-executor.rb (+1 -1)
===================================================================
--- lib/grntest/executors/standard-io-executor.rb    2016-03-14 15:19:50 +0900 (0858cac)
+++ lib/grntest/executors/standard-io-executor.rb    2016-03-14 15:20:17 +0900 (a85b3af)
@@ -28,7 +28,7 @@ module Grntest
 
       def send_command(command)
         command_line = command.original_source
-        unless command.has_key?(:output_type)
+        if !command.key?(:output_type) and @output_type
           command_line = command_line.sub(/$/, " --output_type #{@output_type}")
         end
         begin
-------------- next part --------------
HTML����������������������������...
Download 



More information about the Groonga-commit mailing list
Back to archive index