Skip to content

Commit

Permalink
* test/zlib/test_zlib.rb (TestZlibDeflate#test_params): suppress a fi…
Browse files Browse the repository at this point in the history
…nalizer warning.

git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18179 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
  • Loading branch information
znz committed Jul 23, 2008
1 parent f82d3e9 commit 5f20425
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions ChangeLog
@@ -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.
Expand Down
1 change: 1 addition & 0 deletions test/zlib/test_zlib.rb
Expand Up @@ -140,6 +140,7 @@ def test_params

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
Expand Down

0 comments on commit 5f20425

Please sign in to comment.