From f6c56982abcff846d18a179c7e56182959f48025 Mon Sep 17 00:00:00 2001 From: kou Date: Thu, 23 Oct 2014 07:31:31 +0000 Subject: [PATCH] * 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. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@48108 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- ChangeLog | 11 +++++++++++ test/rexml/data/{ticket_110_utf16.xml => utf16.xml} | Bin test/rexml/test_encoding.rb | 4 ++-- 3 files changed, 13 insertions(+), 2 deletions(-) rename test/rexml/data/{ticket_110_utf16.xml => utf16.xml} (100%) diff --git a/ChangeLog b/ChangeLog index 9bc6d3f105..2e3e5db8c7 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,14 @@ +Thu Oct 23 16:29:02 2014 Kouhei Sutou + + * 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 * test/rexml/test_encoding.rb diff --git a/test/rexml/data/ticket_110_utf16.xml b/test/rexml/data/utf16.xml similarity index 100% rename from test/rexml/data/ticket_110_utf16.xml rename to test/rexml/data/utf16.xml diff --git a/test/rexml/test_encoding.rb b/test/rexml/test_encoding.rb index ca2dff7af1..9a41957faf 100644 --- a/test/rexml/test_encoding.rb +++ b/test/rexml/test_encoding.rb @@ -87,8 +87,8 @@ module REXMLTests 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)