mirror of
https://github.com/ruby/ruby.git
synced 2025-08-23 21:14:23 +02:00
* test/rexml/test_encoding.rb
(REXMLTests::EncodingTester#test_ticket_110): Fix expected and actual order. Patch by NAKAMURA Usaku. Thanks!!! git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48107 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
e1062b23b4
commit
7a608ada8f
2 changed files with 8 additions and 1 deletions
|
@ -91,7 +91,7 @@ module REXMLTests
|
|||
utf16 = File.open(fixture_path("ticket_110_utf16.xml")) do |f|
|
||||
REXML::Document.new(f)
|
||||
end
|
||||
assert_equal(utf16.encoding, "UTF-16")
|
||||
assert_equal("UTF-16", utf16.encoding)
|
||||
assert( utf16[0].kind_of?(REXML::XMLDecl))
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue