diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-24 00:43:44 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-09-24 00:43:44 +0000 |
commit | 9da7920d6b3df25509eef26123edc2502c849a1d (patch) | |
tree | 98bee043d3bdb1b375a435ecdf8406dfe3d42478 /test/rexml | |
parent | d021b311b8c1a54c08cc4ec98bcb7e2e93a9320a (diff) | |
download | ruby-9da7920d6b3df25509eef26123edc2502c849a1d.tar.gz |
Refix to give the encoding of gzfile.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@29329 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml')
-rw-r--r-- | test/rexml/test_order.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rexml/test_order.rb b/test/rexml/test_order.rb index 2efb1d742e..2b66d3ab47 100644 --- a/test/rexml/test_order.rb +++ b/test/rexml/test_order.rb @@ -43,7 +43,7 @@ END end # Provided by Tom Talbott def test_more_ordering - doc = REXML::Document.new(Zlib::GzipReader.new(File.new(fixture_path('LostineRiver.kml.gz'),'r:utf-8'))) + doc = REXML::Document.new(Zlib::GzipReader.new(File.new(fixture_path('LostineRiver.kml.gz')), encoding: 'utf-8')) actual = [ "Head south from Phinney Ave N", "Turn left at N 36th St", |