summaryrefslogtreecommitdiff
path: root/test/ruby
diff options
context:
space:
mode:
Diffstat (limited to 'test/ruby')
-rw-r--r--test/ruby/test_super.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/ruby/test_super.rb b/test/ruby/test_super.rb
index cf7580ab00..bb78ab516f 100644
--- a/test/ruby/test_super.rb
+++ b/test/ruby/test_super.rb
@@ -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