scm: code clean up at test/unit/changeset_test.rb.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4976 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
026c9e87c0
commit
e7cc1f4b4b
|
@ -259,7 +259,6 @@ class ChangesetTest < ActiveSupport::TestCase
|
||||||
|
|
||||||
def test_comments_should_be_converted_all_latin1_to_utf8
|
def test_comments_should_be_converted_all_latin1_to_utf8
|
||||||
with_settings :commit_logs_encoding => 'ISO-8859-1' do
|
with_settings :commit_logs_encoding => 'ISO-8859-1' do
|
||||||
c = Changeset.new
|
|
||||||
s1 = "\xC2\x80"
|
s1 = "\xC2\x80"
|
||||||
s2 = "\xc3\x82\xc2\x80"
|
s2 = "\xc3\x82\xc2\x80"
|
||||||
if s1.respond_to?(:force_encoding)
|
if s1.respond_to?(:force_encoding)
|
||||||
|
|
Loading…
Reference in New Issue