[Groonga-commit] droonga/drntest at e2e288f [master] Normalize "date" field of responses to "0000-00-00T00:00:00.000000Z"

Back to archive index

YUKI Hiroshi null+****@clear*****
Fri Apr 10 18:03:30 JST 2015


YUKI Hiroshi	2015-04-10 18:03:30 +0900 (Fri, 10 Apr 2015)

  New Revision: e2e288fe62efad519108cb81833082e2093110be
  https://github.com/droonga/drntest/commit/e2e288fe62efad519108cb81833082e2093110be

  Message:
    Normalize "date" field of responses to "0000-00-00T00:00:00.000000Z"

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

  Modified: lib/drntest/response-normalizer.rb (+4 -0)
===================================================================
--- lib/drntest/response-normalizer.rb    2015-04-02 19:34:26 +0900 (2dc4cdc)
+++ lib/drntest/response-normalizer.rb    2015-04-10 18:03:30 +0900 (9416e44)
@@ -76,6 +76,10 @@ module Drntest
         normalize_error_body!(message["body"])
       end
 
+      if message["date"].is_a?(String)
+        message["date"] = "0000-00-00T00:00:00.000000Z"
+      end
+
       errors = message["errors"]
       message["errors"] = normalize_errors(errors) if errors
     end
-------------- next part --------------
HTML����������������������������...
Download 



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