* 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
Родитель bb32987206
Коммит 0bfa4abd1b
2 изменённых файлов: 9 добавлений и 1 удалений

Просмотреть файл

@ -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>
* test/ruby/test_process.rb (TestProcess#test_sete[gu]id): silently
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>
* ext/socket/extconf.rb: forgotten to define HAVE_SOCKETPAIR for
windows.
fixed test errors on Windows introduced at r33947.
Thu Dec 8 12:11:06 2011 Nobuyoshi Nakada <nobu@ruby-lang.org>

Просмотреть файл

@ -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",