1
0
Fork 0
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:
kazu 2019-01-10 12:41:06 +00:00
parent bfb684c029
commit 5da9bd0ee5

View file

@ -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