diff options
-rw-r--r-- | ChangeLog | 7 | ||||
-rw-r--r-- | test/rexml/test_encoding.rb | 2 |
2 files changed, 8 insertions, 1 deletions
@@ -1,3 +1,10 @@ +Thu Oct 23 16:18:11 2014 Kouhei Sutou <kou@cozmixng.org> + + * test/rexml/test_encoding.rb + (REXMLTests::EncodingTester#test_ticket_110): Fix expected and + actual order. + Patch by NAKAMURA Usaku. Thanks!!! + Thu Oct 23 10:47:16 2014 Eric Wong <e@80x24.org> * insns.def (getlocal,setlocal): add comment to def/opt_operand.def diff --git a/test/rexml/test_encoding.rb b/test/rexml/test_encoding.rb index 3b2a56ac5e..ca2dff7af1 100644 --- a/test/rexml/test_encoding.rb +++ b/test/rexml/test_encoding.rb @@ -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 |