summaryrefslogtreecommitdiff
path: root/test/rexml
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-03 03:55:06 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-11-03 03:55:06 +0000
commit9c606a0a4cb6d573c1331215386d35d5fdc59e55 (patch)
treee3dff3cb94c51f01fbcbb3e953a923c859078db9 /test/rexml
parent3f817764e24eb05aceef884e213d4a7043c292fa (diff)
* test/rexml/test_core.rb (Tester#test_ticket_88): Follow the
change that encoding name in XML declaration isn't normalized. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37441 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml')
-rw-r--r--test/rexml/test_core.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/rexml/test_core.rb b/test/rexml/test_core.rb
index e530cc1..bbc23d6 100644
--- a/test/rexml/test_core.rb
+++ b/test/rexml/test_core.rb
@@ -1312,9 +1312,9 @@ EOL
def test_ticket_88
doc = REXML::Document.new("<?xml version=\"1.0\" encoding=\"shift_jis\"?>")
- assert_equal("<?xml version='1.0' encoding='SHIFT_JIS'?>", doc.to_s)
+ assert_equal("<?xml version='1.0' encoding='shift_jis'?>", doc.to_s)
doc = REXML::Document.new("<?xml version = \"1.0\" encoding = \"shift_jis\"?>")
- assert_equal("<?xml version='1.0' encoding='SHIFT_JIS'?>", doc.to_s)
+ assert_equal("<?xml version='1.0' encoding='shift_jis'?>", doc.to_s)
end
def test_ticket_85