From f6c56982abcff846d18a179c7e56182959f48025 Mon Sep 17 00:00:00 2001 From: kou Date: Thu, 23 Oct 2014 07:31:31 +0000 Subject: * 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 --- test/rexml/data/ticket_110_utf16.xml | Bin 207464 -> 0 bytes test/rexml/data/utf16.xml | Bin 0 -> 207464 bytes test/rexml/test_encoding.rb | 4 ++-- 3 files changed, 2 insertions(+), 2 deletions(-) delete mode 100644 test/rexml/data/ticket_110_utf16.xml create mode 100644 test/rexml/data/utf16.xml (limited to 'test/rexml') diff --git a/test/rexml/data/ticket_110_utf16.xml b/test/rexml/data/ticket_110_utf16.xml deleted file mode 100644 index f7e5e90d0c..0000000000 Binary files a/test/rexml/data/ticket_110_utf16.xml and /dev/null differ diff --git a/test/rexml/data/utf16.xml b/test/rexml/data/utf16.xml new file mode 100644 index 0000000000..f7e5e90d0c Binary files /dev/null and b/test/rexml/data/utf16.xml differ 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) -- cgit v1.2.3