mirror of
https://github.com/ruby/ruby.git
synced 2025-09-18 01:54:00 +02:00
test/ruby: Check warning messages at a finer granularity
Instead of suppressing all warnings wholly in each test scripts by setting `$VERBOSE` to `nil` in `setup` methods.
This commit is contained in:
parent
d597d7a8b6
commit
9908177857
Notes:
git
2020-12-17 20:06:42 +09:00
Merged: https://github.com/ruby/ruby/pull/3925 Merged-By: nobu <nobu@ruby-lang.org>
17 changed files with 153 additions and 114 deletions
|
@ -4,7 +4,6 @@ require 'test/unit'
|
|||
class TestFixnum < Test::Unit::TestCase
|
||||
def setup
|
||||
@verbose = $VERBOSE
|
||||
$VERBOSE = nil
|
||||
end
|
||||
|
||||
def teardown
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue