diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-31 14:08:14 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-01-31 14:08:14 +0000 |
commit | 64fc6340e6d0ebdad8312911dc83ca999e585c22 (patch) | |
tree | c6e5cd284fd36b055042c0776113e30df6a0aeda /test/ruby/test_enum.rb | |
parent | f1a829636d65e352dbb8b9fc3746b99ccbe8ac88 (diff) | |
download | ruby-64fc6340e6d0ebdad8312911dc83ca999e585c22.tar.gz ruby-64fc6340e6d0ebdad8312911dc83ca999e585c22.tar.xz ruby-64fc6340e6d0ebdad8312911dc83ca999e585c22.zip |
* test/ruby/test_bignum.rb: suppress warnings during test.
* test/ruby/test_enum.rb: ditto.
* test/ruby/test_integer.rb: add tests to achieve over 90% test coverage of
numeric.c.
* test/ruby/test_float.rb: ditto.
* test/ruby/test_fixnum.rb: ditto.
* test/ruby/test_numeric.rb: ditto.
* test/ruby/test_pack.rb: add tests to achieve over 90% test coverage of
pack.c.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15360 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ruby/test_enum.rb')
-rw-r--r-- | test/ruby/test_enum.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/ruby/test_enum.rb b/test/ruby/test_enum.rb index 3e8c3c678..74f6e4e46 100644 --- a/test/ruby/test_enum.rb +++ b/test/ruby/test_enum.rb @@ -14,6 +14,12 @@ class TestEnumerable < Test::Unit::TestCase yield 2 end end + @verbose = $VERBOSE + $VERBOSE = nil + end + + def teardown + $VERBOSE = @verbose end def test_grep |