Kouhei Sutou
null+****@clear*****
Tue Dec 10 19:15:16 JST 2013
Kouhei Sutou 2013-12-10 19:15:16 +0900 (Tue, 10 Dec 2013) New Revision: 3ddb5196569f2db7b1cc50158259866b6bd52e8d https://github.com/droonga/drntest/commit/3ddb5196569f2db7b1cc50158259866b6bd52e8d Message: Ignore JSON pretty print error on formatting for diff Because it is meaningless information. We do it just for showing readable diff. If the error improves diff readability, we use it. But it doesn't. Modified files: lib/drntest/test-runner.rb Modified: lib/drntest/test-runner.rb (+2 -3) =================================================================== --- lib/drntest/test-runner.rb 2013-12-10 19:12:34 +0900 (8a8cbb9) +++ lib/drntest/test-runner.rb 2013-12-10 19:15:16 +0900 (cecdddb) @@ -238,9 +238,8 @@ module Drntest def format_result(result) begin JSON.pretty_generate(result) - rescue JSON::GeneratorError => error - p error - p result + rescue JSON::GeneratorError + result end end -------------- next part -------------- HTML����������������������������...Download