mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5339 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -18,8 +18,10 @@
|
||||
require File.expand_path('../../../../../test_helper', __FILE__)
|
||||
|
||||
class PdfTest < ActiveSupport::TestCase
|
||||
include Redmine::I18n
|
||||
|
||||
def test_fix_text_encoding_backslash_ascii
|
||||
set_language_if_valid 'ja'
|
||||
pdf = Redmine::Export::PDF::IFPDF.new('ja')
|
||||
assert pdf
|
||||
assert_equal '\\\\abcd', pdf.fix_text_encoding('\\abcd')
|
||||
|
||||
Reference in New Issue
Block a user