aboutsummaryrefslogtreecommitdiffstats
path: root/test/rexml
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-08 04:31:56 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2011-12-08 04:31:56 +0000
commit0bfa4abd1bb6e57d854a0f4436354d5d00203313 (patch)
treeaf71af2519b0d5dc6da3804be794249978c6be83 /test/rexml
parentbb3298720646891f5853bf676b3fb83ae5e99449 (diff)
downloadruby-0bfa4abd1bb6e57d854a0f4436354d5d00203313.tar.gz
* test/rexml/test_order.rb (OrderTester#test_more_ordering): use
GZip::GzReader.open instead of GZip::GzReader.new with File.new. fixed a test error on Windows introduced at r33946. * ChangeLog: mention the causes. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@33981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/rexml')
-rw-r--r--test/rexml/test_order.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/rexml/test_order.rb b/test/rexml/test_order.rb
index 2b66d3ab47..a87b1c2728 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')), encoding: 'utf-8'))
+ doc = REXML::Document.new(Zlib::GzipReader.open(fixture_path('LostineRiver.kml.gz'), encoding: 'utf-8'))
actual = [
"Head south from Phinney Ave N",
"Turn left at N 36th St",