mirror of
https://github.com/ruby/ruby.git
synced 2025-08-25 22:14:37 +02:00
Fix tests of rb_warning().
* test/ruby/envutil.rb (Test::Unit::Assertions#assert_warning) (Test::Unit::Assertions#assert_warn), test/ruby/envutil.rb, test/ruby/test_enumerator.rb, test/ruby/test_io_m17n.rb, test/ruby/test_regexp.rb, test/ruby/test_syntax.rb: assert_warn() and assert_warning() are reversed. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@37836 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
7b298723b0
commit
6c1bfbe478
6 changed files with 35 additions and 27 deletions
|
@ -367,8 +367,8 @@ class TestEnumerator < Test::Unit::TestCase
|
|||
|
||||
def test_inspect_verbose
|
||||
bug6214 = '[ruby-dev:45449]'
|
||||
assert_warn("", bug6214) { "".bytes.inspect }
|
||||
assert_warn("", bug6214) { [].lazy.inspect }
|
||||
assert_warning("", bug6214) { "".bytes.inspect }
|
||||
assert_warning("", bug6214) { [].lazy.inspect }
|
||||
end
|
||||
|
||||
def test_generator
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue