ruby-changes:36027
From: kou <ko1@a...>
Date: Thu, 23 Oct 2014 16:31:36 +0900 (JST)
Subject: [ruby-changes:36027] kou:r48108 (trunk): * test/rexml/test_encoding.rb
kou 2014-10-23 16:31:31 +0900 (Thu, 23 Oct 2014) New Revision: 48108 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=48108 Log: * test/rexml/test_encoding.rb (REXMLTests::EncodingTester#test_parse_utf16): Use meaningful test name. "ticket" in the old test name means the ticket in REXML's issue tracker. The REXML's issue tracker was gone. So "ticket" is meaningless. * test/rexml/data/ticket_110_utf16.xml: Rename to ... * test/rexml/data/utf16.xml: ... this. Added files: trunk/test/rexml/data/utf16.xml Removed files: trunk/test/rexml/data/ticket_110_utf16.xml Modified files: trunk/ChangeLog trunk/test/rexml/test_encoding.rb Index: ChangeLog =================================================================== --- ChangeLog (revision 48107) +++ ChangeLog (revision 48108) @@ -1,3 +1,14 @@ https://github.com/ruby/ruby/blob/trunk/ChangeLog#L1 +Thu Oct 23 16:29:02 2014 Kouhei Sutou <kou@c...> + + * test/rexml/test_encoding.rb + (REXMLTests::EncodingTester#test_parse_utf16): Use meaningful + test name. "ticket" in the old test name means the ticket in + REXML's issue tracker. The REXML's issue tracker was gone. So + "ticket" is meaningless. + + * test/rexml/data/ticket_110_utf16.xml: Rename to ... + * test/rexml/data/utf16.xml: ... this. + Thu Oct 23 16:18:11 2014 Kouhei Sutou <kou@c...> * test/rexml/test_encoding.rb Index: test/rexml/test_encoding.rb =================================================================== --- test/rexml/test_encoding.rb (revision 48107) +++ test/rexml/test_encoding.rb (revision 48108) @@ -87,8 +87,8 @@ module REXMLTests https://github.com/ruby/ruby/blob/trunk/test/rexml/test_encoding.rb#L87 REXML::Document.new doc end - def test_ticket_110 - utf16 = File.open(fixture_path("ticket_110_utf16.xml")) do |f| + def test_parse_utf16 + utf16 = File.open(fixture_path("utf16.xml")) do |f| REXML::Document.new(f) end assert_equal("UTF-16", utf16.encoding) Index: test/rexml/data/ticket_110_utf16.xml =================================================================== Binary files test/rexml/data/ticket_110_utf16.xml (revision 48107) and test/rexml/data/ticket_110_utf16.xml (revision 48108) differ -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/