@@ -18,8 +18,10 | |||||
18 | require File.expand_path('../../../../../test_helper', __FILE__) |
|
18 | require File.expand_path('../../../../../test_helper', __FILE__) | |
19 |
|
19 | |||
20 | class PdfTest < ActiveSupport::TestCase |
|
20 | class PdfTest < ActiveSupport::TestCase | |
|
21 | include Redmine::I18n | |||
21 |
|
22 | |||
22 | def test_fix_text_encoding_backslash_ascii |
|
23 | def test_fix_text_encoding_backslash_ascii | |
|
24 | set_language_if_valid 'ja' | |||
23 | pdf = Redmine::Export::PDF::IFPDF.new('ja') |
|
25 | pdf = Redmine::Export::PDF::IFPDF.new('ja') | |
24 | assert pdf |
|
26 | assert pdf | |
25 | assert_equal '\\\\abcd', pdf.fix_text_encoding('\\abcd') |
|
27 | assert_equal '\\\\abcd', pdf.fix_text_encoding('\\abcd') |
General Comments 0
You need to be logged in to leave comments.
Login now