test/kernel.rb: remove duplicate tests; ref #5584

parent 668b12e7
...@@ -95,9 +95,6 @@ assert('Kernel#__send__', '15.3.1.3.4') do ...@@ -95,9 +95,6 @@ assert('Kernel#__send__', '15.3.1.3.4') do
args = [:respond_to?, :nil?] args = [:respond_to?, :nil?]
assert_true __send__(*args) assert_true __send__(*args)
assert_equal [:respond_to?, :nil?], args assert_equal [:respond_to?, :nil?], args
assert_raise(ArgumentError) { nil.__send__(:__id__, 1) }
assert_raise(ArgumentError) { nil.__send__(:__id__, opts: 1) }
end end
assert('Kernel#block_given?', '15.3.1.3.6') do assert('Kernel#block_given?', '15.3.1.3.6') do
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment