Feature #4050 » 0011-Process-fixtures-as-binary.patch
test/unit/lib/redmine/unified_diff_test.rb | ||
---|---|---|
37 | 37 |
private |
38 | 38 |
|
39 | 39 |
def read_diff_fixture(filename) |
40 |
File.new(File.join(File.dirname(__FILE__), '/../../../fixtures/diffs', filename)).read |
|
40 |
File.new(File.join(File.dirname(__FILE__), '/../../../fixtures/diffs', filename)).read.force_encoding(Encoding::BINARY)
|
|
41 | 41 |
end |
42 | 42 |
end |