summaryrefslogtreecommitdiff
path: root/test/rexml/test_encoding.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/rexml/test_encoding.rb')
-rw-r--r--test/rexml/test_encoding.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rexml/test_encoding.rb b/test/rexml/test_encoding.rb
index 3b2a56a..ca2dff7 100644
--- a/test/rexml/test_encoding.rb
+++ b/test/rexml/test_encoding.rb
@@ -91,7 +91,7 @@ module REXMLTests
utf16 = File.open(fixture_path("ticket_110_utf16.xml")) do |f|
REXML::Document.new(f)
end
- assert_equal(utf16.encoding, "UTF-16")
+ assert_equal("UTF-16", utf16.encoding)
assert( utf16[0].kind_of?(REXML::XMLDecl))
end
end