Commit e9698dc6 authored by maeda's avatar maeda
Browse files

"rake test:coverage" fails in Ruby 2.5 and 2.6 (#30967).

Patch by Go MAEDA.

git-svn-id: e93f8b46-1217-0410-a6f0-8f06a7374b81
parent 78d47775
......@@ -24,7 +24,7 @@ module Redmine
class HtmlFormatter
def format(result), "index.html"), "w") do |file|
file.puts template('index').result(binding)
file.puts template('index').result(binding).force_encoding('utf-8')
result.source_files.each do |source_file|, source_file_result(source_file)), "w") do |file|
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment