Skip to content

Commit

Permalink
Save pretty json as actual
Browse files Browse the repository at this point in the history
  • Loading branch information
darashi committed Sep 19, 2013
1 parent f8829e3 commit b315a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/drntest/test-runner.rb
Expand Up @@ -51,7 +51,7 @@ def output_actual_file(actual_result)
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

Expand Down

0 comments on commit b315a00

Please sign in to comment.