git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5339 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
7ca82846fc
commit
7f923cdc66
|
@ -18,8 +18,10 @@
|
||||||
require File.expand_path('../../../../../test_helper', __FILE__)
|
require File.expand_path('../../../../../test_helper', __FILE__)
|
||||||
|
|
||||||
class PdfTest < ActiveSupport::TestCase
|
class PdfTest < ActiveSupport::TestCase
|
||||||
|
include Redmine::I18n
|
||||||
|
|
||||||
def test_fix_text_encoding_backslash_ascii
|
def test_fix_text_encoding_backslash_ascii
|
||||||
|
set_language_if_valid 'ja'
|
||||||
pdf = Redmine::Export::PDF::IFPDF.new('ja')
|
pdf = Redmine::Export::PDF::IFPDF.new('ja')
|
||||||
assert pdf
|
assert pdf
|
||||||
assert_equal '\\\\abcd', pdf.fix_text_encoding('\\abcd')
|
assert_equal '\\\\abcd', pdf.fix_text_encoding('\\abcd')
|
||||||
|
|
Loading…
Reference in New Issue