1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

test/ruby/test_super.rb: Remove unused assertions

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@63181 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
mame 2018-04-17 08:52:25 +00:00
parent a30d133a03
commit 8cd5ccdc7f

View file

@ -102,11 +102,11 @@ class TestSuper < Test::Unit::TestCase
def test_optional2
assert_raise(ArgumentError) do
# call Base#optional with 2 arguments; the 2nd arg is supplied
assert_equal(9, Optional2.new.optional(9))
Optional2.new.optional(9)
end
assert_raise(ArgumentError) do
# call Base#optional with 2 arguments
assert_equal(9, Optional2.new.optional(9, 2))
Optional2.new.optional(9, 2)
end
end
def test_optional3