1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
usa 2011-12-08 04:31:56 +00:00
parent bb32987206
commit 0bfa4abd1b
2 changed files with 9 additions and 1 deletions

View file

@ -1,12 +1,20 @@
Thu Dec 8 13:26:24 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* 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.
Thu Dec 8 13:11:26 2011 NAKAMURA Usaku <usa@ruby-lang.org> Thu Dec 8 13:11:26 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* test/ruby/test_process.rb (TestProcess#test_sete[gu]id): silently * test/ruby/test_process.rb (TestProcess#test_sete[gu]id): silently
skip if not implemented such functions (such as, on Windows). skip if not implemented such functions (such as, on Windows).
fixed test errors on Windows introduced at r33953.
Thu Dec 8 12:57:50 2011 NAKAMURA Usaku <usa@ruby-lang.org> Thu Dec 8 12:57:50 2011 NAKAMURA Usaku <usa@ruby-lang.org>
* ext/socket/extconf.rb: forgotten to define HAVE_SOCKETPAIR for * ext/socket/extconf.rb: forgotten to define HAVE_SOCKETPAIR for
windows. windows.
fixed test errors on Windows introduced at r33947.
Thu Dec 8 12:11:06 2011 Nobuyoshi Nakada <nobu@ruby-lang.org> Thu Dec 8 12:11:06 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>

View file

@ -43,7 +43,7 @@ END
end end
# Provided by Tom Talbott # Provided by Tom Talbott
def test_more_ordering 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 = [ actual = [
"Head south from Phinney Ave N", "Head south from Phinney Ave N",
"Turn left at N 36th St", "Turn left at N 36th St",