[Groonga-commit] droonga/drntest at 463f58d [master] Use existing method

Back to archive index

Kouhei Sutou null+****@clear*****
Fri Dec 13 14:16:31 JST 2013


Kouhei Sutou	2013-12-13 14:16:31 +0900 (Fri, 13 Dec 2013)

  New Revision: 463f58d5e59debe6c3c2cb42fde1624a35530cb5
  https://github.com/droonga/drntest/commit/463f58d5e59debe6c3c2cb42fde1624a35530cb5

  Message:
    Use existing method
    
    I forgot it...

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

  Modified: lib/drntest/test-runner.rb (+1 -6)
===================================================================
--- lib/drntest/test-runner.rb    2013-12-13 14:16:02 +0900 (5d093e3)
+++ lib/drntest/test-runner.rb    2013-12-13 14:16:31 +0900 (bfb8d96)
@@ -199,12 +199,7 @@ module Drntest
       puts "Saving received results as #{output_path}"
       File.open(output_path, "w") do |file|
         results.each do |result|
-          begin
-            formatted_result = JSON.pretty_generate(result)
-          rescue JSON::GeneratorError
-            formatted_result = result
-          end
-          file.puts(formatted_result)
+          file.puts(format_result(result))
         end
       end
     end
-------------- next part --------------
HTML����������������������������...
Download 



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