mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
test/ruby/test_method.rb: Remove unreachable call
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@66774 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
bfb684c029
commit
5da9bd0ee5
1 changed files with 2 additions and 2 deletions
|
@ -1089,10 +1089,10 @@ class TestMethod < Test::Unit::TestCase
|
|||
f = c.new.method(:f)
|
||||
|
||||
assert_raise(TypeError) {
|
||||
(f << 5).call(2)
|
||||
f << 5
|
||||
}
|
||||
assert_raise(TypeError) {
|
||||
(f >> 5).call(2)
|
||||
f >> 5
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue