summaryrefslogtreecommitdiff
path: root/test/rexml/test_document.rb
diff options
context:
space:
mode:
authorkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-28 14:54:59 +0000
committerkou <kou@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2012-10-28 14:54:59 +0000
commit4e2350539807abcdeb098da8d4ac7fd5f0b4c80a (patch)
treed6b8a6ee8a4087c2f8d06a6b134889fe2ada2632 /test/rexml/test_document.rb
parent5f18ce9a0277772e581c0c74a0026f26a3092e6b (diff)
* test/rexml/test_document.rb: Remove needless indent.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37367 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml/test_document.rb')
-rw-r--r--test/rexml/test_document.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/rexml/test_document.rb b/test/rexml/test_document.rb
index 3b6d712..2725235 100644
--- a/test/rexml/test_document.rb
+++ b/test/rexml/test_document.rb
@@ -248,9 +248,9 @@ EOX
def test_utf_16be
xml = <<-EOX.encode("UTF-16BE").force_encoding("ASCII-8BIT")
- <?xml version="1.0" encoding="UTF-16"?>
- <message>Hello world!</message>
- EOX
+<?xml version="1.0" encoding="UTF-16"?>
+<message>Hello world!</message>
+EOX
bom = "\ufeff".encode("UTF-16BE").force_encoding("ASCII-8BIT")
document = REXML::Document.new(bom + xml)
assert_equal("UTF-16", document.encoding)