mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ruby/test_sprintf.rb (test_invalid): suppress warning.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@21135 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
ca65828014
commit
08b4f9138c
1 changed files with 3 additions and 0 deletions
|
@ -179,7 +179,10 @@ class TestSprintf < Test::Unit::TestCase
|
|||
assert_raise(ArgumentError) { sprintf("%!", 1) }
|
||||
assert_raise(ArgumentError) { sprintf("%1$1$d", 1) }
|
||||
assert_raise(ArgumentError) { sprintf("%0%") }
|
||||
verbose, $VERBOSE = $VERBOSE, nil
|
||||
assert_nothing_raised { sprintf("", 1) }
|
||||
ensure
|
||||
$VERBOSE = verbose
|
||||
end
|
||||
|
||||
def test_float
|
||||
|
|
Loading…
Reference in a new issue