summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-10 12:41:06 +0000
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-01-10 12:41:06 +0000
commit5da9bd0ee5b9a4faf503942b803b8b54b70c98ee (patch)
treedbb626e43c73f72a4ad2a686fe678144c671e9d6 /test
parentbfb684c0295e4527ba6b494834d783d878c2ca93 (diff)
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
Diffstat (limited to 'test')
-rw-r--r--test/ruby/test_method.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_method.rb b/test/ruby/test_method.rb
index 82a1b71d32..6647ff86f4 100644
--- a/test/ruby/test_method.rb
+++ b/test/ruby/test_method.rb
@@ -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