зеркало из https://github.com/github/ruby.git
* test/zlib/test_zlib.rb (TestZlibDeflate#test_params): suppress a finalizer warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e64c1cc026
Коммит
4c3799ec1d
|
@ -1,3 +1,8 @@
|
|||
Wed Jul 23 10:06:19 2008 Kazuhiro NISHIYAMA <zn@mbf.nifty.com>
|
||||
|
||||
* test/zlib/test_zlib.rb (TestZlibDeflate#test_params): suppress a
|
||||
finalizer warning.
|
||||
|
||||
Wed Jul 23 06:25:42 2008 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ext/syck: suppress warnings more.
|
||||
|
|
|
@ -140,6 +140,7 @@ if defined? Zlib
|
|||
|
||||
z = Zlib::Deflate.new
|
||||
assert_raise(Zlib::StreamError) { z.params(10000, 10000) }
|
||||
z.close # without this, outputs `zlib(finalizer): the stream was freed prematurely.'
|
||||
end
|
||||
|
||||
def test_set_dictionary
|
||||
|
|
Загрузка…
Ссылка в новой задаче