[Groonga-commit] droonga/drntest at 9192b25 [master] Always normalize Droonga message

Back to archive index

Kouhei Sutou null+****@clear*****
Mon Jan 20 18:48:44 JST 2014


Kouhei Sutou	2014-01-20 18:48:44 +0900 (Mon, 20 Jan 2014)

  New Revision: 9192b254a39dd24e0e7c4bd8dea9072b056715e1
  https://github.com/droonga/drntest/commit/9192b254a39dd24e0e7c4bd8dea9072b056715e1

  Message:
    Always normalize Droonga message

  Modified files:
    lib/drntest/response-normalizer.rb

  Modified: lib/drntest/response-normalizer.rb (+4 -2)
===================================================================
--- lib/drntest/response-normalizer.rb    2014-01-20 18:45:43 +0900 (6afc603)
+++ lib/drntest/response-normalizer.rb    2014-01-20 18:48:44 +0900 (a7f4c08)
@@ -36,10 +36,12 @@ module Drntest
     end
 
     def normalize_body!(normalized_response)
-      return unless groonga_command?
       droonga_message = normalized_response[2]
       normalize_droonga_message!(droonga_message)
-      normalize_groonga_command_response!(droonga_message["body"])
+
+      if groonga_command?
+        normalize_groonga_command_response!(droonga_message["body"])
+      end
     end
 
     GROONGA_COMMANDS = [
-------------- next part --------------
HTML����������������������������...
Download 



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