remove unused from type

This commit is contained in:
Torsten Ruger
2016-12-15 14:00:34 +02:00
parent 2b3f9c398e
commit 1571c796bb
5 changed files with 11 additions and 46 deletions

View File

@ -22,8 +22,6 @@ class TestClass < MiniTest::Test
assert_equal @try.method_names.get_length , @try.instance_methods.get_length
end
def test_remove_nothere
assert_raises RuntimeError do
@try.remove_instance_method(:foo)
end
assert !@try.remove_instance_method(:foo)
end
end