[Groonga-commit] droonga/drntest at b315a00 [master] Save pretty json as actual

Back to archive index

Yoji Shidara null+****@clear*****
Thu Sep 19 12:51:55 JST 2013


Yoji Shidara	2013-09-19 12:51:55 +0900 (Thu, 19 Sep 2013)

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

  Message:
    Save pretty json as actual

  Modified files:
    lib/drntest/test-runner.rb

  Modified: lib/drntest/test-runner.rb (+1 -1)
===================================================================
--- lib/drntest/test-runner.rb    2013-09-19 12:50:04 +0900 (5de9149)
+++ lib/drntest/test-runner.rb    2013-09-19 12:51:55 +0900 (f62801e)
@@ -51,7 +51,7 @@ module Drntest
     def output_actual_result(actual_result, suffix)
       output_path = target_path.sub_ext(suffix)
       puts "Saving received result as #{output_path}"
-      actual_json = actual_result.to_json
+      actual_json = JSON.pretty_generate(actual_result)
       File.write(output_path, actual_json)
     end
 
-------------- next part --------------
HTML����������������������������...
Download 



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