зеркало из https://github.com/github/ruby.git
Suppress warnings: ambiguous first argument; put parentheses or even spaces
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43553 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
Родитель
e3d72485ca
Коммит
e7194e9648
|
@ -131,8 +131,8 @@ class TC_OpenStruct < Test::Unit::TestCase
|
|||
e = assert_raise(NoMethodError) { os.foo true }
|
||||
assert_equal :foo, e.name
|
||||
assert_equal [true], e.args
|
||||
assert_match /#{__callee__}/, e.backtrace[0]
|
||||
assert_match(/#{__callee__}/, e.backtrace[0])
|
||||
e = assert_raise(ArgumentError) { os.send :foo=, true, true }
|
||||
assert_match /#{__callee__}/, e.backtrace[0]
|
||||
assert_match(/#{__callee__}/, e.backtrace[0])
|
||||
end
|
||||
end
|
||||
|
|
Загрузка…
Ссылка в новой задаче