aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-23 07:31:31 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-10-23 07:31:31 +0000
commitf6c56982abcff846d18a179c7e56182959f48025 (patch)
tree55a7e2fa190e3a9494f50efa9e34c5eba0d8175a
parent7a608ada8f7e0f39fb2eec0148ce93a8190d079b (diff)
downloadruby-f6c56982abcff846d18a179c7e56182959f48025.tar.gz
* 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
-rw-r--r--ChangeLog11
-rw-r--r--test/rexml/data/utf16.xml (renamed from test/rexml/data/ticket_110_utf16.xml)bin207464 -> 207464 bytes
-rw-r--r--test/rexml/test_encoding.rb4
3 files changed, 13 insertions, 2 deletions
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 <kou@cozmixng.org>
+
+ * 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@cozmixng.org>
* test/rexml/test_encoding.rb
diff --git a/test/rexml/data/ticket_110_utf16.xml b/test/rexml/data/utf16.xml
index f7e5e90d0c..f7e5e90d0c 100644
--- a/test/rexml/data/ticket_110_utf16.xml
+++ b/test/rexml/data/utf16.xml
Binary files 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)