[Groonga-commit] groonga/grntest [master] Use suitable name

Back to archive index

Kouhei Sutou null+****@clear*****
Wed Nov 21 13:46:35 JST 2012


Kouhei Sutou	2012-11-21 13:46:35 +0900 (Wed, 21 Nov 2012)

  New Revision: 4d3921f71a0f441d4910f103983974ade60af0f0
  https://github.com/groonga/grntest/commit/4d3921f71a0f441d4910f103983974ade60af0f0

  Log:
    Use suitable name
    
    error_mode ->
    action

  Modified files:
    lib/grntest/tester.rb

  Modified: lib/grntest/tester.rb (+3 -3)
===================================================================
--- lib/grntest/tester.rb    2012-11-21 12:46:26 +0900 (8118b97)
+++ lib/grntest/tester.rb    2012-11-21 13:46:35 +0900 (7ef642b)
@@ -1396,9 +1396,9 @@ EOF
       end
 
       def execute_directive_on_error(line, content, options)
-        error_mode, = options
+        action, = options
         invalid_value_p = false
-        case error_mode
+        case action
         when "default"
           @context.on_error = :default
         when "omit"
@@ -1409,7 +1409,7 @@ EOF
 
         if invalid_value_p
           log_input(line)
-          message = "on-error must be 'default' or 'omit': <#{error_mode}>"
+          message = "on-error must be 'default' or 'omit': <#{action}>"
           log_error("#|e| [on-error] #{message}")
         end
       end
-------------- next part --------------
HTML����������������������������...
Télécharger 



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