##// END OF EJS Templates
PDF: set language 'ja' in '0x5c'(backslash) handling unit lib test (#61, #117)....
Toshi MARUYAMA -
r5219:7f923cdc66db
parent child
Show More
@@ -18,8 +18,10
18 18 require File.expand_path('../../../../../test_helper', __FILE__)
19 19
20 20 class PdfTest < ActiveSupport::TestCase
21 include Redmine::I18n
21 22
22 23 def test_fix_text_encoding_backslash_ascii
24 set_language_if_valid 'ja'
23 25 pdf = Redmine::Export::PDF::IFPDF.new('ja')
24 26 assert pdf
25 27 assert_equal '\\\\abcd', pdf.fix_text_encoding('\\abcd')
General Comments 0
You need to be logged in to leave comments. Login now