ruby-changes:50974
From: mame <ko1@a...>
Date: Tue, 17 Apr 2018 17:52:30 +0900 (JST)
Subject: [ruby-changes:50974] mame:r63181 (trunk): test/ruby/test_super.rb: Remove unused assertions
mame 2018-04-17 17:52:25 +0900 (Tue, 17 Apr 2018) New Revision: 63181 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=63181 Log: test/ruby/test_super.rb: Remove unused assertions Modified files: trunk/test/ruby/test_super.rb Index: test/ruby/test_super.rb =================================================================== --- test/ruby/test_super.rb (revision 63180) +++ test/ruby/test_super.rb (revision 63181) @@ -102,11 +102,11 @@ class TestSuper < Test::Unit::TestCase https://github.com/ruby/ruby/blob/trunk/test/ruby/test_super.rb#L102 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 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/